summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeekologist <Conver@users.noreply.github.com>2015-10-05 14:17:08 +0200
committerGeekologist <Conver@users.noreply.github.com>2015-10-05 14:17:08 +0200
commit67622f37bd1bf0e7ae3bbf7cd11ebf20ff9440b5 (patch)
treeb8067de33fb27f81b451566c5c4ae91184ee2a19
parent8621513b4d4b310729bbbe76412d0ae4452bd5d6 (diff)
parent478c6f92faf675d8b788ef2b5841e48c62bbb821 (diff)
downloadPHPAuth-67622f37bd1bf0e7ae3bbf7cd11ebf20ff9440b5.zip
PHPAuth-67622f37bd1bf0e7ae3bbf7cd11ebf20ff9440b5.tar.gz
PHPAuth-67622f37bd1bf0e7ae3bbf7cd11ebf20ff9440b5.tar.bz2
Merge pull request #127 from bugada/master
reset key invalid if new password matches ol password
-rwxr-xr-xauth.class.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/auth.class.php b/auth.class.php
index b1a8124..0126915 100755
--- a/auth.class.php
+++ b/auth.class.php
@@ -960,7 +960,6 @@ class Auth
if(password_verify($password, $user['password'])) {
$this->addAttempt();
- $this->deleteRequest($data['id']);
$return['message'] = $this->lang["newpassword_match"];
return $return;