it is req not reg
This commit is contained in:
parent
b59c12fd70
commit
16fe330177
@ -29,7 +29,7 @@ function auth_passdb_lookup(req)
|
||||
local app_pass_filter = "{{ getenv "LDAP_APP_PASSWORDS_FILTER" }}"
|
||||
local ldap_user_attribute = "{{ getenv "LDAP_USER_ATTRIBUTE" }}"
|
||||
|
||||
local user_password = reg.password
|
||||
local user_password = req.password
|
||||
|
||||
for dn, attribs in ld:search { base = app_base_dn_formatted, scope = "subtree", filter = app_pass_filter } do
|
||||
lualdap.open_simple(
|
||||
|
Loading…
Reference in New Issue
Block a user