call password set for change password

call password set for change password
This commit is contained in:
Dimitry
2015-01-27 18:14:23 +02:00
parent 55196dc869
commit 7163da4861

View File

@ -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();