aboutsummaryrefslogtreecommitdiff
path: root/src/cyrsasl_plain.erl
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2007-02-19 11:22:19 +0000
committerMickaël Rémond <mickael.remond@process-one.net>2007-02-19 11:22:19 +0000
commit1affdd8dced85b71a6c01b0e1ac5af8987cac0b9 (patch)
treebddd779f40cd0b73ece4c48f2ae9ef9233e46d05 /src/cyrsasl_plain.erl
parent* src/aclocal.m4: configure --with-erlang option is now working (Thanks (diff)
* src/cyrsasl_plain.erl: bad-auth error code replaced by not-authorized
(EJAB-187). SVN Revision: 730
Diffstat (limited to 'src/cyrsasl_plain.erl')
-rw-r--r--src/cyrsasl_plain.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cyrsasl_plain.erl b/src/cyrsasl_plain.erl
index e58e1cc22..59f88bf25 100644
--- a/src/cyrsasl_plain.erl
+++ b/src/cyrsasl_plain.erl
@@ -33,7 +33,7 @@ mech_step(State, ClientIn) ->
true ->
{ok, [{username, User}, {authzid, AuthzId}]};
_ ->
- {error, "bad-auth"}
+ {error, "not-authorized"}
end;
_ ->
{error, "bad-protocol"}