Skip to content

Commit

Permalink
Change authKey on password change
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark authored Mar 2, 2021
1 parent d098b0c commit 7554a73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/models/ResetPasswordForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public function resetPassword()
$user = $this->_user;
$user->password = $this->password;
$user->removePasswordResetToken();
$user->generateAuthKey();

return $user->save();
}
Expand Down

0 comments on commit 7554a73

Please sign in to comment.