Skip to content
Snippets Groups Projects
Commit 4c5920d5 authored by Tim Steiner's avatar Tim Steiner
Browse files

Prevent the CAS module from regenerating the session id on each request.

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@68 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent 3eb89072
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,10 @@ function unl_cas_init()
if (!$user) {
$user = unl_cas_import_user($username);
}
$GLOBALS['user'] = $user;
user_login_finalize();
if ($GLOBALS['user']->uid != $user->uid) {
$GLOBALS['user'] = $user;
user_login_finalize();
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment