diff options
author | 2022-07-08 14:17:25 +0200 | |
---|---|---|
committer | 2022-07-08 14:17:25 +0200 | |
commit | abfc6b4633bdf674002ccf346f54fd80c87f6f3d (patch) | |
tree | bf5b15b9083c1f6debdb5eeb2f9492858e3ff59b /lib/Authentication.php | |
parent | 951092eef374db048b77bac85e75e3547bfac702 (diff) | |
download | rss-bridge-abfc6b4633bdf674002ccf346f54fd80c87f6f3d.tar.gz rss-bridge-abfc6b4633bdf674002ccf346f54fd80c87f6f3d.tar.zst rss-bridge-abfc6b4633bdf674002ccf346f54fd80c87f6f3d.zip |
feat: introduce template engine (#2899)
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; } } } |