diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/cyrsasl_plain.erl | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2007-02-19 Mickael Remond <mickael.remond@process-one.net> + * src/cyrsasl_plain.erl: bad-auth error code replaced by not-authorized + (EJAB-187). + * src/aclocal.m4: configure --with-erlang option is now working (Thanks to Jerome Sautret) (EJAB-186). 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"} |