diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-02-10 01:53:38 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-02-10 01:53:38 +0500 |
commit | 4bf01bb76ba75e2a3e6957bddcca8ed3dbbd0d79 (patch) | |
tree | f787f457842588e8b70b60ef9eec026d68cedc28 | |
parent | 6d21bd8cf4706fdb0bbf67b3704756c69ae99e32 (diff) | |
download | prosody-4bf01bb76ba75e2a3e6957bddcca8ed3dbbd0d79.tar.gz prosody-4bf01bb76ba75e2a3e6957bddcca8ed3dbbd0d79.zip |
util.sasl_cyrus: Add text message from cyrussasl to <not-authorized/> errors.
-rw-r--r-- | util/sasl_cyrus.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl_cyrus.lua b/util/sasl_cyrus.lua index b42bee07..57c6ba3c 100644 --- a/util/sasl_cyrus.lua +++ b/util/sasl_cyrus.lua @@ -113,7 +113,7 @@ function method:process(message) "undefined-condition", "SASL mechanism not available" elseif (err == -13) then -- SASL_BADAUTH - return "failure", "not-authorized" + return "failure", "not-authorized", cyrussasl.get_message( self.cyrus ) else log("debug", "Got SASL error condition %d", err) return "failure", |