Software /
code /
prosody-modules
Diff
mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua @ 1343:7dbde05b48a9
all the things: Remove trailing whitespace
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Tue, 11 Mar 2014 18:44:01 +0100 |
parent | 1325:b21236b6b8d8 |
child | 1372:a573d64968e9 |
line wrap: on
line diff
--- a/mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua Mon Mar 10 08:22:58 2014 +0000 +++ b/mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua Tue Mar 11 18:44:01 2014 +0100 @@ -256,7 +256,7 @@ else self.username = nodeprep(data.user); end - if not self.username then + if not self.username then return "failure", "not-authorized", "Username failed NODEprep" end end @@ -272,7 +272,7 @@ elseif resp == "CONT" then return "challenge", unb64(data[1]); elseif resp == "OK" then - return "success", data.resp and unb64(data.resp) or nil; + return "success", data.resp and unb64(data.resp) or nil; end end