Skip to content

Commit

Permalink
! Forgot one. (Subs-Login.php)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nao committed Feb 21, 2017
1 parent 7720979 commit 5e742b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/app/Subs-Login.php
Expand Up @@ -304,8 +304,7 @@ function validatePasswordFlood($id_member, $password_flood_value = false, $was_c
// Destroy any session or cookie data about this member, as they validated wrong.
loadSource('Subs-Auth');
setLoginCookie(-3600, 0);
if ($cookiename)
unset($_SESSION['login_' . $cookiename]);
unset($_SESSION['login_' . $cookiename]);

// We need a member!
if (!$id_member)
Expand Down

0 comments on commit 5e742b0

Please sign in to comment.