1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-31 10:41:31 +00:00

[Web] use global vars for iam_provider and iam_settings

This commit is contained in:
FreddleSpl0it
2024-11-29 15:50:35 +01:00
parent dc379267a9
commit 05e4bd7602
9 changed files with 60 additions and 72 deletions

View File

@@ -86,8 +86,6 @@ $cors_settings['allowed_origins'] = str_replace(", ", "\n", $cors_settings['allo
$cors_settings['allowed_methods'] = explode(", ", $cors_settings['allowed_methods']);
$f2b_data = fail2ban('get');
// identity provider
$iam_settings = identity_provider('get');
// mbox templates
$mbox_templates = mailbox('get', 'mailbox_templates');