From 1affdd8dced85b71a6c01b0e1ac5af8987cac0b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20R=C3=A9mond?= Date: Mon, 19 Feb 2007 11:22:19 +0000 Subject: [PATCH] * src/cyrsasl_plain.erl: bad-auth error code replaced by not-authorized (EJAB-187). SVN Revision: 730 --- ChangeLog | 3 +++ src/cyrsasl_plain.erl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 42a3ef488..42e94dc4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-02-19 Mickael Remond + * 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"}