aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/sasl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index d176fd85..9073a640 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -208,7 +208,7 @@ local function new_digest_md5(realm, credentials_handler)
log("warn", "Client is violating XMPP RFC. See section 6.1 of RFC 3920.");
A1 = Y..":"..response["nonce"]..":"..response["cnonce"]..":"..response.authzid;
else
- A1 = "?";
+ return "failure", "invalid-authzid";
end
else
A1 = Y..":"..response["nonce"]..":"..response["cnonce"];