function _cas_single_sign_out_save_ticket in CAS 7
Same name and namespace in other branches
- 6.3 cas.module \_cas_single_sign_out_save_ticket()
Make sure that we persist ticket because of redirects performed by CAS.
1 call to _cas_single_sign_out_save_ticket()
- cas_login_check in ./
cas.module - Checks to see if the user needs to be logged in.
File
- ./
cas.module, line 1198 - Enables users to authenticate via a Central Authentication Service (CAS) Cas will currently work if the auto registration is turned on and will create user accounts automatically.
Code
function _cas_single_sign_out_save_ticket() {
if (isset($_GET['ticket'])) {
$_SESSION['cas_ticket'] = $_GET['ticket'];
}
}