Software /
code /
prosody
Diff
util/sasl_cyrus.lua @ 2577:acb382c703e4
util.sasl_cyrus: Add text message from cyrussasl to <not-authorized/> errors.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 10 Feb 2010 01:53:38 +0500 |
parent | 2404:d7abdd6893b8 |
child | 2720:289f68e704da |
line wrap: on
line diff
--- a/util/sasl_cyrus.lua Wed Feb 10 01:36:22 2010 +0500 +++ b/util/sasl_cyrus.lua Wed Feb 10 01:53:38 2010 +0500 @@ -113,7 +113,7 @@ "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",