Commit f226ee56 by Alexander Makarov

password_reset_token is now null when reset

parent d13ed432
...@@ -164,7 +164,7 @@ class User extends ActiveRecord implements IdentityInterface ...@@ -164,7 +164,7 @@ class User extends ActiveRecord implements IdentityInterface
*/ */
public function removePasswordResetToken() public function removePasswordResetToken()
{ {
$this->password_reset_token = ''; $this->password_reset_token = null;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment