summaryrefslogtreecommitdiff
path: root/src/rabbit_auth_mechanism.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2015-01-06 12:15:10 +0000
committerSimon MacMullen <simon@rabbitmq.com>2015-01-06 12:15:10 +0000
commitd4f28442e8f12a1eb822fbed8ac56b4fc3d676ea (patch)
tree10ce6e9af8b54c5e386aa938ccb2a8d5b28ebbb3 /src/rabbit_auth_mechanism.erl
parenta6ef8e3bd22940a82b1a79e8b57a340b21548031 (diff)
parent643d598dfc6452b301a9ceeceb20f68d6a820336 (diff)
downloadrabbitmq-server-d4f28442e8f12a1eb822fbed8ac56b4fc3d676ea.tar.gz
Merge bug26393
Diffstat (limited to 'src/rabbit_auth_mechanism.erl')
-rw-r--r--src/rabbit_auth_mechanism.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_auth_mechanism.erl b/src/rabbit_auth_mechanism.erl
index d11af095..c8e23a75 100644
--- a/src/rabbit_auth_mechanism.erl
+++ b/src/rabbit_auth_mechanism.erl
@@ -36,13 +36,13 @@
%% Another round is needed. Here's the state I want next time.
%% {protocol_error, Msg, Args}
%% Client got the protocol wrong. Log and die.
-%% {refused, Msg, Args}
+%% {refused, Username, Msg, Args}
%% Client failed authentication. Log and die.
-callback handle_response(binary(), any()) ->
{'ok', rabbit_types:user()} |
{'challenge', binary(), any()} |
{'protocol_error', string(), [any()]} |
- {'refused', string(), [any()]}.
+ {'refused', rabbit_types:username() | none, string(), [any()]}.
-else.