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