aboutsummaryrefslogtreecommitdiff
path: root/lib/Authentication.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Authentication.php')
-rw-r--r--lib/Authentication.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Authentication.php b/lib/Authentication.php
index 1ae26edf..172836b2 100644
--- a/lib/Authentication.php
+++ b/lib/Authentication.php
@@ -58,7 +58,9 @@ class Authentication
if (Configuration::getConfig('authentication', 'enable') === true) {
if (!Authentication::verifyPrompt()) {
header('WWW-Authenticate: Basic realm="RSS-Bridge"', true, 401);
- die('Please authenticate in order to access this instance !');
+ $message = 'Please authenticate in order to access this instance !';
+ print $message;
+ exit;
}
}
}