aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl
diff options
context:
space:
mode:
Diffstat (limited to 'util/sasl')
-rw-r--r--util/sasl/plain.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/sasl/plain.lua b/util/sasl/plain.lua
index d9fdb9a2..5c7ff68a 100644
--- a/util/sasl/plain.lua
+++ b/util/sasl/plain.lua
@@ -34,7 +34,8 @@ local function plain(self, message)
password = saslprep(password);
if (not password) or (password == "") or (not authentication) or (authentication == "") then
- log("debug", "Username or password violates either SASLprep.");
+ log("debug", "Username or password violates SASLprep.");
+ return "failure", "malformed-request";
end
local correct, state = false, false;