Skip to content

Commit

Permalink
fix for issue #99
Browse files Browse the repository at this point in the history
  • Loading branch information
BSteelooper committed Apr 26, 2021
1 parent 53ac175 commit 2c3965d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data/inc/changepass.php
Expand Up @@ -37,7 +37,10 @@
else {
save_password($cont2);
show_error($lang['changepass']['changed'], 3);
redirect('?action=options', 2);
//destroy session as per issue 99
unset($_SESSION[$token]);
unset($token);
redirect('login.php', 2);
include_once ('data/inc/footer.php');
exit;
}
Expand Down

0 comments on commit 2c3965d

Please sign in to comment.