Skip to content
Snippets Groups Projects
Commit efddddcf authored by Peter Rotich's avatar Peter Rotich
Browse files

Clear user session if invalid (expired)

parent ef0d3eed
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,8 @@ if($_SESSION['_client']['userID'] && $_SESSION['_client']['key'])
//is the user logged in?
if($thisclient && $thisclient->getId() && $thisclient->isValid()){
$thisclient->refreshSession();
} else {
$thisclient = null;
}
/******* CSRF Protectin *************/
......
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