From: Aki Tuomi Date: Mon, 29 Oct 2018 07:50:33 +0000 (+0200) Subject: auth: Store password with auth_set_field in Lua passdb X-Git-Tag: 2.3.9~1149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caa69d7dcc3cff481c89a1ad7e8016bab1605da8;p=thirdparty%2Fdovecot%2Fcore.git auth: Store password with auth_set_field in Lua passdb Makes caching work for passwords --- diff --git a/src/auth/passdb-lua.c b/src/auth/passdb-lua.c index 3da0026697..0e3630af2d 100644 --- a/src/auth/passdb-lua.c +++ b/src/auth/passdb-lua.c @@ -58,6 +58,8 @@ passdb_lua_lookup(struct auth_request *request, } else { if (*scheme_r == NULL) *scheme_r = request->passdb->passdb->default_pass_scheme; + auth_request_set_field(request, "password", + *password_r, *scheme_r); } } else if (*password_r != NULL && **password_r != '\0') { auth_request_log_info(request, AUTH_SUBSYS_DB,