From 3cc53f17e00eda5d19955036061d49d4e2eb14be Mon Sep 17 00:00:00 2001 From: Simon MacMullen Date: Tue, 14 Dec 2010 14:26:37 +0000 Subject: This is really a protocol error --- src/rabbit_auth_mechanism_plain.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rabbit_auth_mechanism_plain.erl b/src/rabbit_auth_mechanism_plain.erl index 664a4ae9..e5f8f3e6 100644 --- a/src/rabbit_auth_mechanism_plain.erl +++ b/src/rabbit_auth_mechanism_plain.erl @@ -62,5 +62,5 @@ handle_response(Response, _State) -> {match, [User, Pass]} -> rabbit_access_control:check_user_pass_login(User, Pass); _ -> - {refused, io_lib:format("response ~p invalid", [Response])} + {protocol_error, "response ~p invalid", [Response]} end. -- cgit v1.2.1