mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
Merge pull request #1492 from cm-schl/master
Update plugin ldap-mail-accounts: use SensitiveString for passwords
This commit is contained in:
commit
a0e7bf790e
|
@ -208,7 +208,7 @@ class LdapMailAccounts
|
|||
{
|
||||
//Try to login the user with the same password as the primary account has
|
||||
//if this fails the user will see the new mail addresses but will be asked for the correct password
|
||||
$sPass = $oAccount->IncPassword();
|
||||
$sPass = new \SnappyMail\SensitiveString($oAccount->IncPassword());
|
||||
//After creating the accounts here $sUsername is used as username to login to the IMAP server (see Account.php)
|
||||
$oNewAccount = RainLoop\Model\AdditionalAccount::NewInstanceFromCredentials($oActions, $sEmail, $sUsername, $sPass);
|
||||
|
||||
|
|
Loading…
Reference in a new issue