From 1075ecd9e908888cc2644d68637a5153aadac809 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 18 Apr 2020 18:50:47 +0200 Subject: [PATCH] fix ldap mail --- conf/local.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/local.yaml b/conf/local.yaml index 1593c47..e59c582 100644 --- a/conf/local.yaml +++ b/conf/local.yaml @@ -111,7 +111,7 @@ kimai: # Username is set to the value of the configured "usernameAttribute" field - { ldap_attr: "usernameAttribute", user_method: setUsername } # Only applied if you don't configure a mapping for setEmail() - - { ldap_attr: "usernameAttribute", user_method: setEmail } + - { ldap_attr: mail, user_method: setEmail } # An example which will set the display name in Kimai from the # value of the "common name" field in your LDAP - { ldap_attr: cn, user_method: setAlias }