You are here

function cas_test_logout in CAS 6.3

Same name and namespace in other branches
  1. 7 tests/cas_test.module \cas_test_logout()

Log out a user.

1 string reference to 'cas_test_logout'
cas_test_menu in tests/cas_test.module
Implements hook_menu().

File

tests/cas_test.module, line 180
Dummy module implementing a CAS Server.

Code

function cas_test_logout() {
  if (isset($_GET['url'])) {
    print t('Logged out. Continue to @url.', array(
      '@url' => $_GET['url'],
    ));
  }
  else {
    print t('Logged out. No redirection provided.');
  }
  exit;
}