mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Changes for #1706
This commit is contained in:
parent
56db74986f
commit
d3ecfdc71e
2 changed files with 16 additions and 3 deletions
|
|
@ -124,11 +124,20 @@ $Plugin->addHook('hook.name', 'functionName');
|
|||
params:
|
||||
string &$sEmail
|
||||
|
||||
Happens in resolveLoginCredentials($sEmail) BEFORE resolving domain name.
|
||||
This is the pure text from the login screen (DoLogin) or the SSO feature (ServiceSso) received by LoginProcess().
|
||||
- DoLogin() -> LoginProcess() -> resolveLoginCredentials($sEmail)
|
||||
- ServiceSso() -> LoginProcess() -> resolveLoginCredentials($sEmail)
|
||||
So $sEmail can just have the value `test` without a domain.
|
||||
|
||||
### login.credentials.step-2
|
||||
params:
|
||||
string &$sEmail
|
||||
string &$sPassword
|
||||
|
||||
Happens in resolveLoginCredentials($sEmail) AFTER resolving domain name.
|
||||
So $sEmail always has a domain (for example `test` is now `test@example.com`).
|
||||
|
||||
### login.credentials
|
||||
params:
|
||||
string &$sEmail
|
||||
|
|
@ -136,6 +145,10 @@ $Plugin->addHook('hook.name', 'functionName');
|
|||
string &$sPassword
|
||||
string &$sSmtpUser
|
||||
|
||||
$sEmail is the domain imap->fixUsername() without shortening.
|
||||
$sImapUser is the domain imap->fixUsername() for login into IMAP.
|
||||
$sSmtpUser is the domain smtp->fixUsername() for login into SMTP.
|
||||
|
||||
### login.success
|
||||
params:
|
||||
\RainLoop\Model\MainAccount $oAccount
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue