log success
This commit is contained in:
parent
2169802a9f
commit
c2bc44b3ac
@ -43,6 +43,7 @@ function auth_passdb_lookup(req)
|
|||||||
user_password,
|
user_password,
|
||||||
ldap_use_tls)
|
ldap_use_tls)
|
||||||
if test_conn ~= nil then
|
if test_conn ~= nil then
|
||||||
|
req:log_info(string.format("%s suceeded!", dn))
|
||||||
return dovecot.auth.PASSDB_RESULT_OK, string.format("password=%s user=%s", user_password, username)
|
return dovecot.auth.PASSDB_RESULT_OK, string.format("password=%s user=%s", user_password, username)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user