diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-02-22 14:41:24 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-02-22 14:41:24 +0000 |
commit | 5b70262f2421af39e76b29b57fef44375ea44c9b (patch) | |
tree | c21c26b0329a000a905ca70e59518d45a3b9e85a /src/rabbit_auth_mechanism_cr_demo.erl | |
parent | 587dc8810fc2cc68572dafc53024c9f267b0ebe7 (diff) | |
download | rabbitmq-server-5b70262f2421af39e76b29b57fef44375ea44c9b.tar.gz |
Revert d3fd719c5287 (Remove should_offer/1).bug23826
Diffstat (limited to 'src/rabbit_auth_mechanism_cr_demo.erl')
-rw-r--r-- | src/rabbit_auth_mechanism_cr_demo.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rabbit_auth_mechanism_cr_demo.erl b/src/rabbit_auth_mechanism_cr_demo.erl index 7fd20f8b..77aa34ea 100644 --- a/src/rabbit_auth_mechanism_cr_demo.erl +++ b/src/rabbit_auth_mechanism_cr_demo.erl @@ -19,7 +19,7 @@ -behaviour(rabbit_auth_mechanism). --export([description/0, init/1, handle_response/2]). +-export([description/0, should_offer/1, init/1, handle_response/2]). -include("rabbit_auth_mechanism_spec.hrl"). @@ -43,6 +43,9 @@ description() -> {description, <<"RabbitMQ Demo challenge-response authentication " "mechanism">>}]. +should_offer(_Sock) -> + true. + init(_Sock) -> #state{}. |