Correctly unset session on logout

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-11-27 09:25:46 +01:00 committed by Isaac Bennetch
parent b7ae7d3c04
commit 4cd007c535

View File

@ -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();
}