function shib_auth_login in Shibboleth Authentication 6.4
Same name and namespace in other branches
- 7.4 shib_auth_forms.inc \shib_auth_login()
This function prevents drupal loading a cached page after shibboleth login
1 string reference to 'shib_auth_login'
- shib_auth_menu in ./
shib_auth.module - Generate the menu element to access the Shibboleth authentication module's administration page @returns HTML text of the administer menu element
File
- ./
shib_auth_forms.inc, line 230 - Drupal forms of the Shibboleth authentication module.
Code
function shib_auth_login() {
$queries = $_GET;
$queries['q'] = drupal_substr($_GET['q'], 11);
if ($queries['q'] == 'shib_link') {
drupal_goto('shib_login/user');
}
else {
if ($queries['q'] == 'user/login') {
drupal_goto('user');
}
else {
drupal_goto('', $queries);
}
}
}