summaryrefslogtreecommitdiff
path: root/src/rabbit_auth_mechanism_cr_demo.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-11-30 18:16:05 +0000
committerSimon MacMullen <simon@rabbitmq.com>2010-11-30 18:16:05 +0000
commit4ac665f3111d016d4bcb38c6fc2082f5c9883811 (patch)
tree647330ba1bf2710af307b3a2a3e6b3fc895f7c48 /src/rabbit_auth_mechanism_cr_demo.erl
parentad4d8b090b45f47569c40dde99b630537083f403 (diff)
downloadrabbitmq-server-4ac665f3111d016d4bcb38c6fc2082f5c9883811.tar.gz
Remove should_offer/1.
Diffstat (limited to 'src/rabbit_auth_mechanism_cr_demo.erl')
-rw-r--r--src/rabbit_auth_mechanism_cr_demo.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rabbit_auth_mechanism_cr_demo.erl b/src/rabbit_auth_mechanism_cr_demo.erl
index fe77021a..0e4b7a85 100644
--- a/src/rabbit_auth_mechanism_cr_demo.erl
+++ b/src/rabbit_auth_mechanism_cr_demo.erl
@@ -34,7 +34,7 @@
-behaviour(rabbit_auth_mechanism).
--export([description/0, should_offer/1, init/1, handle_response/2]).
+-export([description/0, init/1, handle_response/2]).
-include("rabbit_auth_mechanism_spec.hrl").
@@ -58,9 +58,6 @@ description() ->
{description, <<"RabbitMQ Demo challenge-response authentication "
"mechanism">>}].
-should_offer(_Sock) ->
- true.
-
init(_Sock) ->
#state{}.