1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-07-01 10:35:44 +00:00

[Web] add mTLS Authentication

This commit is contained in:
FreddleSpl0it
2024-02-13 11:17:49 +01:00
parent a794c1ba6c
commit 75eb1c42d5
15 changed files with 304 additions and 63 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ $template_data = [
'oauth2_request' => @$_SESSION['oauth2_request'],
'is_mobileconfig' => str_contains($_SESSION['index_query_string'], 'mobileconfig'),
'login_delay' => @$_SESSION['ldelay'],
'has_iam_sso' => ($iam_provider) ? true : false
'has_iam_sso' => ($iam_provider) ? true : false,
'has_ssl_client_auth' => has_ssl_client_auth()
];
$js_minifier->add('/web/js/site/index.js');