mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 14:57:26 +08:00
use SensitiveString for passwords
uses the new SensitiveString class introduced with Snappymail v2.30.0
This commit is contained in:
parent
e04cc1080a
commit
a0576dba1f
1 changed files with 1 additions and 1 deletions
|
@ -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