log success

This commit is contained in:
Sebastian Hugentobler 2018-02-27 18:19:20 +01:00
parent 2169802a9f
commit c2bc44b3ac

View File

@ -43,6 +43,7 @@ function auth_passdb_lookup(req)
user_password,
ldap_use_tls)
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)
end
end