This commit is contained in:
the-djmaze 2022-10-12 23:08:28 +02:00
parent 063ed7d844
commit dc241ded1b
12 changed files with 18 additions and 16 deletions

View file

@ -109,7 +109,7 @@ class ServiceActions
{
throw new Exceptions\ClientException(Notifications::InvalidToken, null, 'CSRF failed');
}
else if (!empty($sAction))
if (!empty($sAction))
{
if ($this->oActions instanceof ActionsAdmin && 0 === \stripos($sAction, 'Admin') && !\in_array($sAction, ['AdminLogin', 'AdminLogout'])) {
$this->oActions->IsAdminLoggined();