Commit 7163da48 by Dimitry

call password set for change password

call password set for change password
parent 55196dc8
......@@ -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