[fix] remove tabs

This commit is contained in:
Laurent Peuch 2017-05-23 07:26:41 +02:00
parent 37c0980155
commit 5157415ce3

View file

@ -335,10 +335,10 @@ function set_headers(user)
-- fetch it. -- fetch it.
if not cache:get(user.."-"..conf["ldap_identifier"]) then if not cache:get(user.."-"..conf["ldap_identifier"]) then
ldap = lualdap.open_simple( ldap = lualdap.open_simple(
conf["ldap_host"], conf["ldap_host"],
conf["ldap_identifier"].."=".. user ..","..conf["ldap_group"], conf["ldap_identifier"].."=".. user ..","..conf["ldap_group"],
cache:get(user.."-password") cache:get(user.."-password")
) )
ngx.log(ngx.NOTICE, "Reloading LDAP values for: "..user) ngx.log(ngx.NOTICE, "Reloading LDAP values for: "..user)
for dn, attribs in ldap:search { for dn, attribs in ldap:search {
base = conf["ldap_identifier"].."=".. user ..","..conf["ldap_group"], base = conf["ldap_identifier"].."=".. user ..","..conf["ldap_group"],