mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-07 00:56:34 +02:00
feat: improve error/exception ui (#3690)
This commit is contained in:
@@ -44,6 +44,8 @@ final class AuthenticationMiddleware
|
||||
{
|
||||
http_response_code(401);
|
||||
header('WWW-Authenticate: Basic realm="RSS-Bridge"');
|
||||
return render('access-denied.html.php');
|
||||
return render(__DIR__ . '/../templates/error.html.php', [
|
||||
'message' => 'Please authenticate in order to access this instance!',
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user