diff --git a/restapi/index.php b/restapi/index.php index b85f8df91..ad5d9c206 100644 --- a/restapi/index.php +++ b/restapi/index.php @@ -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"]) {