fix constant auth failure even if logged in

This commit is contained in:
Uwe Steinmann 2020-06-29 08:22:29 +02:00
parent 8c9af6d4ca
commit b19db06572

View File

@ -2280,8 +2280,6 @@ class Auth { /* {{{ */
return $response->withStatus(403);
} else
return $response->withStatus(403);
} else {
return $response->withStatus(403);
}
if($userobj->isAdmin()) {
if($resArr["su"]) {