mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 10:44:30 +01:00
configuration formatting
This commit is contained in:
parent
398a29f7e2
commit
6ece24bd84
@ -76,11 +76,12 @@ home:
|
||||
backend-attributes:
|
||||
ldap: home
|
||||
ad: Home
|
||||
|
||||
password:
|
||||
decription: "Password of the user"
|
||||
display_name: "Password"
|
||||
self: true
|
||||
type: pwd
|
||||
type: password
|
||||
backend-attributes:
|
||||
ldap: userPassword
|
||||
ad: userPassword
|
||||
|
@ -54,10 +54,15 @@ tools.sessions.timeout = 10
|
||||
# session
|
||||
#tools.sessions.storage_path = "/var/lib/ldapcherry/sessions"
|
||||
|
||||
# resources parameters
|
||||
[resources]
|
||||
# templates directory
|
||||
template_dir = '/usr/share/ldapcherry/templates/'
|
||||
[attributes]
|
||||
|
||||
# file discribing form content
|
||||
attributes.file = '/etc/ldapcherry/attributes.yml'
|
||||
|
||||
[roles]
|
||||
|
||||
# file listing roles
|
||||
roles.file = '/etc/ldapcherry/roles.yml'
|
||||
|
||||
[backends]
|
||||
|
||||
@ -77,6 +82,13 @@ auth.mode = 'or'
|
||||
# custom auth module to load
|
||||
#auth.module = 'ldapcherry.auth.modNone'
|
||||
|
||||
# resources parameters
|
||||
[resources]
|
||||
# templates directory
|
||||
template_dir = '/usr/share/ldapcherry/templates/'
|
||||
|
||||
|
||||
|
||||
[/static]
|
||||
tools.staticdir.on = True
|
||||
tools.staticdir.dir = '/usr/share/ldapcherry/static/'
|
||||
|
Loading…
Reference in New Issue
Block a user