You are here

function cas_login_page in CAS 7

Same name and namespace in other branches
  1. 5.4 cas.module \cas_login_page()
  2. 5 cas.module \cas_login_page()
  3. 5.3 cas.module \cas_login_page()
  4. 6.3 cas.module \cas_login_page()
  5. 6 cas.module \cas_login_page()
  6. 6.2 cas.module \cas_login_page()

This is the page callback for the /cas page, which is used only to trigger a forced CAS authentication.

In almost all cases, the user will have been redirected before even hitting this page (see hook_init implementation). But as a stop gap just redirect to the homepage.

1 string reference to 'cas_login_page'
cas_menu in ./cas.module
Implements hook_menu().

File

./cas.module, line 685
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_login_page() {
  drupal_goto('');
}