mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-04 03:18:49 +03:00
v2.18.6
This commit is contained in:
parent
063ed7d844
commit
dc241ded1b
12 changed files with 18 additions and 16 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue