You are here

public function CasPreLoginEvent::allowLogin in CAS 8

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

Allows the login operation.

Return value

$this

1 call to CasPreLoginEvent::allowLogin()
CasPreLoginEvent::setAllowLogin in src/Event/CasPreLoginEvent.php
Set the $allowLogin property.

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;
}