Skip to content

Commit

Permalink
fail -> fail!
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkloster committed Aug 26, 2020
1 parent d7bc5df commit 55f97bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/azure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def request_phase
# credentials at the authorization endpoint.
def callback_phase
error = request.params['error_reason'] || request.params['error']
fail(OAuthError, error) if error
fail!(error) if error
@session_state = request.params['session_state']
@id_token = request.params['id_token']
@code = request.params['code']
Expand Down

0 comments on commit 55f97bb

Please sign in to comment.