Skip to content

Commit

Permalink
WHISTLE-42: remove unused clause
Browse files Browse the repository at this point in the history
  • Loading branch information
James Aimonetti committed Nov 28, 2012
1 parent 9605c3a commit 1aff116
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion whistle_apps/apps/crossbar/src/modules/cb_token_auth.erl
Expand Up @@ -101,7 +101,6 @@ prepare_token_for_deletion(Token) ->
%%--------------------------------------------------------------------
-spec authenticate/1 :: (cb_context:context()) -> 'false' | {'true', cb_context:context()}.
authenticate(#cb_context{auth_token = <<>>}) -> false;
authenticate(#cb_context{auth_token = undefined}) -> false;
authenticate(#cb_context{auth_token=AuthToken}=Context) ->
_ = cb_context:put_reqid(Context),

Expand Down

0 comments on commit 1aff116

Please sign in to comment.