Software / code / prosody
Changeset
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 |
| parents | 2576:b70e73872c4d |
| children | 2578:61e5eff54415 |
| files | util/sasl_cyrus.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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",