Skip to content

Commit

Permalink
Merge pull request #1092 from shreyakurian02/fix_nil_error_in_callbac…
Browse files Browse the repository at this point in the history
…k_path

Fixed nil error in callback_path
  • Loading branch information
BobbyMcWho committed Jan 20, 2023
2 parents 7d90ba2 + dece21b commit f66dd2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/omniauth/strategy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ def callback_url
end

def script_name
return '' if @env.nil?
@env['SCRIPT_NAME'] || ''
end

Expand Down

0 comments on commit f66dd2d

Please sign in to comment.