Correctly unset session on logout
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
b7ae7d3c04
commit
4cd007c535
@ -92,7 +92,7 @@ abstract class AuthenticationPlugin
|
||||
if ($server === 0) {
|
||||
/* delete user's choices that were stored in session */
|
||||
if (! defined('TESTSUITE')) {
|
||||
$_SESSION = array();
|
||||
session_unset();
|
||||
session_destroy();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user