Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions cas_authn/cas_authn.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,9 @@ function imap_connect($args) {
else {
// initialize CAS client
$this->cas_init();
// If PT expired we check the authentication to load all auth infos wich lays in session
if ($ptExpired) {
phpCAS::checkAuthentication();
}

// Ensure the phpCAS client is up to date with session info before retrieving a new PT
phpCAS::checkAuthentication();

// if CAS session exists, use that.
// retrieve a new proxy ticket and store it in session
Expand Down