Corrected compilation problems.
parent
b357ae8124
commit
e5631798ce
|
@ -17,6 +17,8 @@
|
|||
|
||||
-export([auth_cookies/1]).
|
||||
|
||||
-include_lib("dudeswave_backend/include/defines.hrl").
|
||||
|
||||
-doc """
|
||||
Get the authentication cookies from a cowboy request.
|
||||
|
||||
|
|
|
@ -231,6 +231,8 @@ user_details(Req, State) ->
|
|||
|
||||
{iolist_to_binary(json:encode(Data)), Req, State}.
|
||||
|
||||
terminate(_Reason, _Req, _State) -> ok.
|
||||
|
||||
%
|
||||
% Private functions
|
||||
%
|
||||
|
@ -290,3 +292,4 @@ read_new_user_data(Req) ->
|
|||
<<"email">> := Email} = json:decode(Data),
|
||||
|
||||
{User, Pass, Email, Req0}.
|
||||
|
||||
|
|
Loading…
Reference in New Issue