From f1550b900d4095dfde87ccc60bbfebb088b03ef5 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 18 Mar 2021 16:16:54 +0100 Subject: mod_saslauth: Use a defined SASL error --- plugins/mod_saslauth.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index 5ba53f21..6cd69f82 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -45,7 +45,7 @@ end local function handle_status(session, status, ret, err_msg) if not session.sasl_handler then - return "failure", "connection-timeout", "Connection gone"; + return "failure", "temporary-auth-failure", "Connection gone"; end if status == "failure" then module:fire_event("authentication-failure", { session = session, condition = ret, text = err_msg }); -- cgit v1.2.3