diff --git a/core/bootstrap/Files/Providers/AuthServiceProvider.php b/core/bootstrap/Files/Providers/AuthServiceProvider.php index 89effdd444d..0512630a2c4 100644 --- a/core/bootstrap/Files/Providers/AuthServiceProvider.php +++ b/core/bootstrap/Files/Providers/AuthServiceProvider.php @@ -42,7 +42,8 @@ public function handle(Request $request) if (!$moderator->validateToken()) { - header('HTTP/1.1 401 You don\'t have permission to do this'); + header('HTTP/1.1 403 Forbidden'); + print "

Forbidden

Your request is missing credentials or has bad credentials."; exit(); }