summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_auth_mechanism_plain.erl2
1 files changed, 1 insertions, 1 deletions
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.