Clean up session code

This commit is contained in:
James Cole
2017-02-17 20:14:22 +01:00
parent 5d0cdc4ffa
commit 65a899bf25
11 changed files with 155 additions and 135 deletions

View File

@@ -62,8 +62,8 @@ class UserEventHandler
public function logoutUser(): bool
{
// dump stuff from the session:
Session::forget('twofactor-authenticated');
Session::forget('twofactor-authenticated-date');
Session::forget('twoFactorAuthenticated');
Session::forget('twoFactorAuthenticatedDate');
return true;
}