You are here

function cas_user_is_logged_in in CAS 6.3

Same name and namespace in other branches
  1. 7 cas.module \cas_user_is_logged_in()
1 string reference to 'cas_user_is_logged_in'
cas_menu in ./cas.module
Implementation of hook_menu().

File

./cas.module, line 378
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_user_is_logged_in() {
  return user_is_logged_in() || !empty($_SESSION['phpCAS']['user']);
}