diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/sasl/scram.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua index aad33ebc..055ba16a 100644 --- a/util/sasl/scram.lua +++ b/util/sasl/scram.lua @@ -90,7 +90,7 @@ local function validate_username(username) -- apply SASLprep username = saslprep(username); - return username; + return username and #username>0 and username; end local function hashprep(hashname) |