Bugfix: undefined $oAccount and $aAdditionalParams

This commit is contained in:
djmaze 2020-08-30 17:48:40 +02:00
parent 2bf96ab33e
commit dc6b7e250e

View file

@ -3133,7 +3133,7 @@ NewThemeLink IncludeCss LoadingDescriptionEsc TemplatesLink LangLink IncludeBack
&& $this->Config()->Get('security', 'allow_admin_panel', true)
&& \openlog('rainloop', 0, \LOG_AUTHPRIV))
{
\syslog(\LOG_ERR, $this->compileLogParams('Admin Auth failed: ip={request:ip} user='.$sLogin, $oAccount, false, $aAdditionalParams));
\syslog(\LOG_ERR, $this->compileLogParams('Admin Auth failed: ip={request:ip} user='.$sLogin));
\closelog();
}
throw new Exceptions\ClientException(Notifications::AuthError);