Skip to content

Commit

Permalink
Remove redundant line from controller
Browse files Browse the repository at this point in the history
  • Loading branch information
dfeetenby authored and David-Feetenby committed Nov 19, 2024
1 parent d747979 commit e96e75d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/controllers/users/omniauth_callbacks_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ def valid_user_info?(user_info_response, gov_one_id)

# @return [nil]
def error_redirect(msg = 'default message')
return if user_signed_in?

flash[:alert] = 'There was a problem signing in. Please try again.'
redirect_to root_path
rescue StandardError => e
Expand Down

0 comments on commit e96e75d

Please sign in to comment.