Corrected call to authenticate.

main
absc 2024-08-15 20:41:30 +00:00
parent 29cb046e3d
commit a0cbc962d1
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ forbidden(Req, State) ->
#{dudeauth := Auth, dudename := User} = cowboy_req:match_cookies([dudeauth, #{dudeauth := Auth, dudename := User} = cowboy_req:match_cookies([dudeauth,
dudename], Req), dudename], Req),
case dudeswave_auth:authenticate(User, Auth) of case dudeswave_auth:authenticate(User, {cookie, Auth}) of
{error, service_unavailable} -> {error, service_unavailable} ->
{true, Req, State}; {true, Req, State};
true -> true ->