fix: typo in default_template

This commit is contained in:
Kai Biebel 2025-05-09 11:24:49 +02:00 committed by GitHub
parent 580dabd276
commit cb6ffe65c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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