1
0
Fork 0
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:
Michael Bleigh 2010-10-19 09:43:52 -05:00
parent d8f16f09ff
commit 53380b934d

View file

@ -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