1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-13 18:06:01 +00:00

Merge pull request #6518 from seclution/patch-2

fix: typo in default_template
This commit is contained in:
FreddleSpl0it
2025-05-12 13:08:07 +02:00
committed by GitHub

View File

@@ -669,8 +669,8 @@ function ldap_mbox_login($user, $pass, $extra = null){
// check if matching attribute exist // check if matching attribute exist
if (empty($iam_settings['mappers']) || !$user_template || $mapper_key === false) { if (empty($iam_settings['mappers']) || !$user_template || $mapper_key === false) {
if (!empty($iam_settings['default_tempalte'])) { if (!empty($iam_settings['default_template'])) {
$mbox_template = $iam_settings['default_tempalte']; $mbox_template = $iam_settings['default_template'];
} else { } else {
$_SESSION['return'][] = array( $_SESSION['return'][] = array(
'type' => 'danger', 'type' => 'danger',