This commit is contained in:
William 2022-03-14 07:33:38 +01:00
parent ea2cca035a
commit 082ba1c709

View File

@ -79,7 +79,7 @@ class AccessControl
private function page(int $powerLevel): void
{
if ($this->app->user->loggedIn && $this->app->user->powerLevel <= $powerLevel)
if ($this->app->user->loggedIn && $this->app->user->powerLevel >= $powerLevel)
{
echo "Authorized!";
} else {