From: Aki Tuomi Date: Tue, 11 Mar 2025 07:32:30 +0000 (+0200) Subject: auth: Remove old var expand syntax from test-lua X-Git-Tag: 2.4.1~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fad54fef23830cfaff77d87f331379ca0b4bab26;p=thirdparty%2Fdovecot%2Fcore.git auth: Remove old var expand syntax from test-lua --- diff --git a/src/auth/test-lua.c b/src/auth/test-lua.c index a15915adec..f64f47eea5 100644 --- a/src/auth/test-lua.c +++ b/src/auth/test-lua.c @@ -109,7 +109,7 @@ static void test_db_lua_auth_lookup(void) static const char *luascript = "function auth_passdb_lookup(req)\n" " req:log_debug(\"user \" .. req.user)\n" -" return dovecot.auth.PASSDB_RESULT_OK, req:var_expand(\"password=pass\")\n" +" return dovecot.auth.PASSDB_RESULT_OK, {[\"password\"]=\"pass\"}\n" "end\n"; const char *error = NULL; struct dlua_script *script = NULL;