You are here

public function CasPreLoginEvent::allowLogin in CAS 2.x

Same name and namespace in other branches
  1. 8 src/Event/CasPreLoginEvent.php \Drupal\cas\Event\CasPreLoginEvent::allowLogin()

Allows the login operation.

Return value

$this

File

src/Event/CasPreLoginEvent.php, line 94

Class

CasPreLoginEvent
Class CasPreLoginEvent.

Namespace

Drupal\cas\Event

Code

public function allowLogin() {
  $this->allowLogin = TRUE;
  $this->cancelLoginReason = NULL;
  return $this;
}