diff options
Diffstat (limited to 'lib/Authentication.php')
-rw-r--r-- | lib/Authentication.php | 4 |
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; } } } |