1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-06 08:37:30 +02:00

feat: introduce template engine (#2899)

This commit is contained in:
Dag
2022-07-08 14:17:25 +02:00
committed by GitHub
parent 951092eef3
commit abfc6b4633
9 changed files with 92 additions and 20 deletions

View File

@@ -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;
}
}
}