mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[fix] remove tabs
This commit is contained in:
parent
37c0980155
commit
5157415ce3
1 changed files with 4 additions and 4 deletions
|
@ -335,10 +335,10 @@ function set_headers(user)
|
|||
-- fetch it.
|
||||
if not cache:get(user.."-"..conf["ldap_identifier"]) then
|
||||
ldap = lualdap.open_simple(
|
||||
conf["ldap_host"],
|
||||
conf["ldap_identifier"].."=".. user ..","..conf["ldap_group"],
|
||||
cache:get(user.."-password")
|
||||
)
|
||||
conf["ldap_host"],
|
||||
conf["ldap_identifier"].."=".. user ..","..conf["ldap_group"],
|
||||
cache:get(user.."-password")
|
||||
)
|
||||
ngx.log(ngx.NOTICE, "Reloading LDAP values for: "..user)
|
||||
for dn, attribs in ldap:search {
|
||||
base = conf["ldap_identifier"].."=".. user ..","..conf["ldap_group"],
|
||||
|
|
Loading…
Reference in a new issue