You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if $this->getAction() is "pwdReset" then expression ($this->getAction() != "adminLogin") is true -> whole expression is true
if $this->getAction() is "adminLogin" then expression ($this->getAction() != "pwdReset") is true -> whole expression is true
if $this->getAction() is "adminLogout" then expression ($this->getAction() != "pwdReset") is true -> whole expression is true
if $this->getAction() is "someOtherValue" then expression ($this->getAction() != "pwdReset") is true -> whole expression is true
Probably you should use "&&" operator instead of "||"
There is expression in file kajonacms/module_system/admin/LoginAdmin.php:
but it always true.
if $this->getAction() is "pwdReset" then expression ($this->getAction() != "adminLogin") is true -> whole expression is true
if $this->getAction() is "adminLogin" then expression ($this->getAction() != "pwdReset") is true -> whole expression is true
if $this->getAction() is "adminLogout" then expression ($this->getAction() != "pwdReset") is true -> whole expression is true
if $this->getAction() is "someOtherValue" then expression ($this->getAction() != "pwdReset") is true -> whole expression is true
Probably you should use "&&" operator instead of "||"
This possible defect found by code analyzer AppСhecker
The text was updated successfully, but these errors were encountered: