diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2015-01-06 12:15:10 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2015-01-06 12:15:10 +0000 |
commit | d4f28442e8f12a1eb822fbed8ac56b4fc3d676ea (patch) | |
tree | 10ce6e9af8b54c5e386aa938ccb2a8d5b28ebbb3 /src/rabbit_auth_mechanism.erl | |
parent | a6ef8e3bd22940a82b1a79e8b57a340b21548031 (diff) | |
parent | 643d598dfc6452b301a9ceeceb20f68d6a820336 (diff) | |
download | rabbitmq-server-d4f28442e8f12a1eb822fbed8ac56b4fc3d676ea.tar.gz |
Merge bug26393
Diffstat (limited to 'src/rabbit_auth_mechanism.erl')
-rw-r--r-- | src/rabbit_auth_mechanism.erl | 4 |
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. |