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: * src/cyrsasl_plain.erl: bad-auth error code replaced by not-authorized (EJAB-187). SVN Revision: 730 --- src/cyrsasl_plain.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cyrsasl_plain.erl') 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"} -- cgit v1.2.3