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
1 changed files with 1 additions and 1 deletions

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