mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 15:45:55 +08:00
Merge pull request #212 from leonekmi/fix-change-password-1
change-password: Fix after password change
This commit is contained in:
commit
44a72441bb
|
@ -176,7 +176,7 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
$oAccount->SetPassword($sNewPassword);
|
||||
$oActions->SetAuthToken($oAccount);
|
||||
|
||||
return $this->jsonResponse(__FUNCTION__, $oActions->GetSpecAuthToken());
|
||||
return $this->jsonResponse(__FUNCTION__, $oActions->AppData(false));
|
||||
}
|
||||
|
||||
public static function encrypt(string $algo, string $password)
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
this.newPassword('');
|
||||
this.newPassword2('');
|
||||
this.passwordUpdateSuccess(true);
|
||||
rl.settings.set('AuthAccountHash', data.Result);
|
||||
rl.setData(data.Result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue