Skip to content

Commit

Permalink
Address review
Browse files Browse the repository at this point in the history
  • Loading branch information
hallucinations committed Mar 20, 2018
1 parent e998e86 commit f249d66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/doorkeeper/oauth/pre_authorization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ def validate_scopes
def validate_redirect_uri
return false if redirect_uri.blank?

Helpers::URIChecker.valid_for_authorization?(redirect_uri, client.redirect_uri)
Helpers::URIChecker.valid_for_authorization?(
redirect_uri,
client.redirect_uri
)
end

def validate_code_challenge_method
Expand Down

0 comments on commit f249d66

Please sign in to comment.