Merge pull request #7044 from kravchukdim/patch-1

call password set for change password
This commit is contained in:
Alexander Makarov
2015-01-27 23:47:21 +03:00

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