mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-26 00:01:31 +00:00
[Web] use global vars for iam_provider and iam_settings
This commit is contained in:
@@ -55,6 +55,7 @@ $pdo = new PDO($dsn, $database_user, $database_pass, $opt);
|
||||
|
||||
// Init Identity Provider
|
||||
$iam_provider = identity_provider('init');
|
||||
$iam_settings = identity_provider('get');
|
||||
|
||||
$login_user = strtolower(trim($_SERVER['PHP_AUTH_USER']));
|
||||
$login_pass = trim(htmlspecialchars_decode($_SERVER['PHP_AUTH_PW']));
|
||||
|
||||
Reference in New Issue
Block a user