mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
Make error parameter checking looser. Closes #58.
This commit is contained in:
parent
d8f16f09ff
commit
53380b934d
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ module OmniAuth
|
|||
end
|
||||
|
||||
def callback_phase
|
||||
if request.params['error']
|
||||
if request.params['error'] || request.params['error_reason']
|
||||
raise CallbackError.new(request.params['error'], request.params['error_description'] || request.params['error_reason'], request.params['error_uri'])
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue