Permalink
Browse files

Working on login.

  • Loading branch information...
1 parent 7e283b9 commit bad489003e6a69ab9387fa86c19dbe6cfe69b289 @Licenser Licenser committed May 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/wiggle/src/wiggle_rest_handler.erl
@@ -94,7 +94,7 @@ is_authorized(Req, State = #state{method = <<"GET">>,
is_authorized(Req, State = #state{method = <<"POST">>,
module = wiggle_session_handler,
path = []}) ->
- {false, Req, State};
+ {true, Req, State};
is_authorized(Req, State = #state{token = undefined}) ->
{{false, <<"x-snarl-token">>}, Req, State};

0 comments on commit bad4890

Please sign in to comment.