mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
Moved the change-password plugin language strings
This commit is contained in:
parent
820994e69e
commit
bba0ac150a
16 changed files with 87 additions and 80 deletions
|
|
@ -58,6 +58,9 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
throw new ClientException(static::NewPasswordWeak, null, $oActions->StaticI18N('NOTIFICATIONS/NEW_PASSWORD_WEAK'));
|
||||
}
|
||||
/*
|
||||
|
||||
require __DIR__ . '/drivers/pdo.php';
|
||||
$this->oDriver = new \ChangePasswordDriverPDO;
|
||||
if (!$this->oDriver->ChangePassword($oAccount, $sPrevPassword, $sNewPassword)) {
|
||||
throw new ClientException(static::CouldNotSaveNewPassword);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue