mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Deprecate Account->Login() and Account->Password()
This commit is contained in:
parent
6af4ead706
commit
682af34d53
8 changed files with 25 additions and 29 deletions
|
|
@ -146,7 +146,7 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
}
|
||||
|
||||
$sPrevPassword = $this->jsonParam('PrevPassword');
|
||||
if ($sPrevPassword !== $oAccount->Password()) {
|
||||
if ($sPrevPassword !== $oAccount->IncPassword()) {
|
||||
throw new ClientException(static::CurrentPasswordIncorrect, null, $oActions->StaticI18N('NOTIFICATIONS/CURRENT_PASSWORD_INCORRECT'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue