Reauth endpoint
This commit is contained in:
@@ -34,7 +34,7 @@ class AdminAuth implements IMiddleware
|
||||
->header("Access-Control-Allow-Methods: *")
|
||||
->header("Access-Control-Allow-Headers: *")
|
||||
->httpCode(401)
|
||||
->json(["code" => "Unauthorized", "message" => "Not Authorized"]);
|
||||
->json(["code" => "NotAllowed", "message" => "Not Authorized"]);
|
||||
}
|
||||
} catch (Exception $err) {
|
||||
// No user with this token exists
|
||||
|
||||
Reference in New Issue
Block a user