Merge pull request #1 from mdik/patch-1

change login names to email address rather than uid
This commit is contained in:
PanCakeConnaisseur 2018-07-20 08:42:44 +02:00 committed by GitHub
commit 0277a00df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -86,13 +86,13 @@ class UserHooks {
$account->setInboundHost($this->config->getImapHost());
$account->setInboundPort($this->config->getImapPort());
$account->setInboundSslMode($this->config->getImapSslMode());
$account->setInboundUser($uid);
$account->setInboundUser($email);
$account->setInboundPassword($this->encrypt($password));
$account->setOutboundHost($this->config->getSmtpHost());
$account->setOutboundPort($this->config->getSmtpPort());
$account->setOutboundSslMode($this->config->getSmtpSslMode());
$account->setOutboundUser($uid);
$account->setOutboundUser($email);
$account->setOutboundPassword($this->encrypt($password));
$this->accountService->save($account);
@ -181,4 +181,4 @@ class UserHooks {
return $accounts[0]->getMailAccount();
}
}
}