Skip to content

Commit

Permalink
fix(current_user): revert set_user_by_token false return when token n…
Browse files Browse the repository at this point in the history
…ot present (#1306)
  • Loading branch information
booleanbetrayal authored Jun 17, 2019
1 parent e442976 commit 237f49d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def set_user_by_token(mapping = nil)
# ensure we clear the client
unless @token.present?
@token.client = nil
return false
return
end

# mitigate timing attacks by finding by uid instead of auth token
Expand Down

0 comments on commit 237f49d

Please sign in to comment.