mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 00:47:04 +03:00
Resolve #1241
This commit is contained in:
parent
1bf252ad7e
commit
adc300d636
1 changed files with 3 additions and 2 deletions
|
|
@ -46,11 +46,12 @@ trait User
|
||||||
throw $oException;
|
throw $oException;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Must be here due to bug #1241
|
||||||
|
$this->Plugins()->RunHook('login.success', array($oAccount));
|
||||||
|
|
||||||
$this->SetAuthToken($oAccount);
|
$this->SetAuthToken($oAccount);
|
||||||
empty($this->GetActionParam('signMe', 0)) || $this->SetSignMeToken($oAccount);
|
empty($this->GetActionParam('signMe', 0)) || $this->SetSignMeToken($oAccount);
|
||||||
|
|
||||||
$this->Plugins()->RunHook('login.success', array($oAccount));
|
|
||||||
|
|
||||||
$sLanguage = $this->GetActionParam('language', '');
|
$sLanguage = $this->GetActionParam('language', '');
|
||||||
if ($oAccount && $sLanguage) {
|
if ($oAccount && $sLanguage) {
|
||||||
$oSettings = $this->SettingsProvider()->Load($oAccount);
|
$oSettings = $this->SettingsProvider()->Load($oAccount);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue