Software /
code /
prosody
Changeset
11513:549c80feede6 0.11
mod_saslauth: Use a defined SASL error
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 18 Mar 2021 16:16:54 +0100 |
parents | 11512:a2ba6c0ac8ec |
children | 11514:11186af62c87 11529:10bea0941bab |
files | plugins/mod_saslauth.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua Thu Mar 18 16:17:45 2021 +0100 +++ b/plugins/mod_saslauth.lua Thu Mar 18 16:16:54 2021 +0100 @@ -45,7 +45,7 @@ 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 });