Skip to content

Commit

Permalink
fix unsafe redirect with rails-6.0.0.beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
MattWalston committed Jan 21, 2019
1 parent a00d8a1 commit f8c5e4f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
class GoogleSignIn::AuthorizationsController < GoogleSignIn::BaseController
def create
redirect_to login_url(scope: 'openid profile email', state: state),
allow_other_host: true,
flash: { proceed_to: params.require(:proceed_to), state: state }
end

Expand Down

0 comments on commit f8c5e4f

Please sign in to comment.