25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

* src/cyrsasl_plain.erl: bad-auth error code replaced by not-authorized

(EJAB-187).

SVN Revision: 730
This commit is contained in:
Mickaël Rémond 2007-02-19 11:22:19 +00:00
parent 42caa09699
commit 1affdd8dce
2 changed files with 4 additions and 1 deletions

View File

@ -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).

View File

@ -33,7 +33,7 @@ mech_step(State, ClientIn) ->
true ->
{ok, [{username, User}, {authzid, AuthzId}]};
_ ->
{error, "bad-auth"}
{error, "not-authorized"}
end;
_ ->
{error, "bad-protocol"}