Leave session handling to StatusNet - disable phpCAS's handling.
This commit is contained in:
parent
6b4607f073
commit
6df8230488
@ -28,7 +28,7 @@ class CasloginAction extends Action
|
|||||||
$this->clientError(_m('Already logged in.'));
|
$this->clientError(_m('Already logged in.'));
|
||||||
} else {
|
} else {
|
||||||
global $casSettings;
|
global $casSettings;
|
||||||
phpCAS::client(CAS_VERSION_2_0,$casSettings['server'],$casSettings['port'],$casSettings['path']);
|
phpCAS::client(CAS_VERSION_2_0,$casSettings['server'],$casSettings['port'],$casSettings['path'],false);
|
||||||
phpCAS::setNoCasServerValidation();
|
phpCAS::setNoCasServerValidation();
|
||||||
phpCAS::handleLogoutRequests();
|
phpCAS::handleLogoutRequests();
|
||||||
phpCAS::forceAuthentication();
|
phpCAS::forceAuthentication();
|
||||||
|
Loading…
Reference in New Issue
Block a user