This commit is contained in:
the-djmaze 2023-10-24 00:51:32 +02:00
parent 1bf252ad7e
commit adc300d636

View file

@ -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);