1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-30 21:30:14 +02:00

fix: disallow usage of default password (#3284)

This commit is contained in:
Dag
2023-03-06 20:43:44 +01:00
committed by GitHub
parent f0e5ef0fc5
commit a01c1f6ab0
3 changed files with 10 additions and 3 deletions

View File

@@ -63,8 +63,8 @@ final class RssBridge
// Consider: ini_set('error_reporting', E_ALL & ~E_DEPRECATED);
date_default_timezone_set(Configuration::getConfig('system', 'timezone'));
$authenticationMiddleware = new AuthenticationMiddleware();
if (Configuration::getConfig('authentication', 'enable')) {
$authenticationMiddleware = new AuthenticationMiddleware();
$authenticationMiddleware();
}