mirror of
https://github.com/YunoHost-Apps/kimai2_ynh.git
synced 2024-09-03 19:26:26 +02:00
fix for yuno ldap
This commit is contained in:
parent
6b3ab38a5b
commit
df6bcd3ea5
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ kimai:
|
|||
user:
|
||||
registration: __REGISTRATION__
|
||||
ldap:
|
||||
activate: true
|
||||
# more infos about the connection params can be found at:
|
||||
# https://docs.laminas.dev/laminas-ldap/api/
|
||||
connection:
|
||||
|
@ -109,7 +110,7 @@ kimai:
|
|||
attributes:
|
||||
# The following 2 rules are automatically prepended and can be overwritten.
|
||||
# Username is set to the value of the configured "usernameAttribute" field
|
||||
- { ldap_attr: "usernameAttribute", user_method: setUsername }
|
||||
- { ldap_attr: "uid", user_method: setUsername }
|
||||
# Only applied if you don't configure a mapping for setEmail()
|
||||
- { ldap_attr: mail, user_method: setEmail }
|
||||
# An example which will set the display name in Kimai from the
|
||||
|
|
Loading…
Add table
Reference in a new issue