Skip to content
Browse files

Fix return value of yaws_server:is_auth/2 when no auth structure is f…

…ound
  • Loading branch information...
1 parent ca7f85f commit a5515f25d5c9a9e394116201da95d3b59c73c0a0 @capflam capflam committed Jul 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/yaws_server.erl
View
2 src/yaws_server.erl
@@ -1833,7 +1833,7 @@ is_auth(ARG, L) ->
{_, Auths} ->
is_auth(ARG, Req_dir, H, filter_auths(Auths, Req_dir), {true, []});
false ->
- {true, []}
+ true
end.
%% Either no authentication was done or all methods returned false

0 comments on commit a5515f2

Please sign in to comment.
Something went wrong with that request. Please try again.