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
|
|
@ -64,11 +64,11 @@ class ChangePasswordDriverLDAP
|
|||
'{email}' => $oAccount->Email(),
|
||||
'{email:user}' => \MailSo\Base\Utils::GetAccountNameFromEmail($oAccount->Email()),
|
||||
'{email:domain}' => $sDomain,
|
||||
'{login}' => $oAccount->Login(),
|
||||
'{imap:login}' => $oAccount->Login(),
|
||||
'{login}' => $oAccount->IncLogin(),
|
||||
'{imap:login}' => $oAccount->IncLogin(),
|
||||
'{imap:host}' => $oAccount->Domain()->IncHost(),
|
||||
'{imap:port}' => $oAccount->Domain()->IncPort(),
|
||||
'{gecos}' => \function_exists('posix_getpwnam') ? \posix_getpwnam($oAccount->Login()) : ''
|
||||
'{gecos}' => \function_exists('posix_getpwnam') ? \posix_getpwnam($oAccount->IncLogin()) : ''
|
||||
));
|
||||
|
||||
$oCon = \ldap_connect($this->sLdapUri);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue