Commit a617fdba by Alexander Makarov

Merge pull request #7044 from kravchukdim/patch-1

call password set for change password
parents 0e848427 7163da48
......@@ -57,7 +57,7 @@ class ResetPasswordForm extends Model
public function resetPassword()
{
$user = $this->_user;
$user->password = $this->password;
$user->setPassword($this->password);
$user->removePasswordResetToken();
return $user->save();
......
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