Skip to content
Snippets Groups Projects
Commit 7459a335 authored by Neil Drumm's avatar Neil Drumm :wave:
Browse files

#91046 by jvandyk. Fix handling of expired sessions.

parent 64162b74
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,8 @@ function sess_read($key) {
}
// We didn't find the client's record (session has expired), or they are an anonymous user.
else {
$user = drupal_anonymous_user($user->session);
$session = isset($user->session) ? $user->session : '';
$user = drupal_anonymous_user($session);
}
return $user->session;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment