Skip to content

Commit

Permalink
🧹 Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkkwang committed Mar 4, 2024
1 parent 744de56 commit 29ba88c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/users/omniauth_callbacks_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def callback
# where we want a JS-based redirect to go.
render 'complete', locals: { redirect_to_url: url || hyrax.dashboard_path }
else
redirect_to root_path, flash: {error: 'Not able to log in user. #{@user.errors.full_messages}'}
redirect_to root_path, flash: { error: "Not able to log in user. #{@user.errors.full_messages}" }
end
end
alias cas callback
Expand All @@ -42,7 +42,7 @@ def passthru
end

def failure
redirect_to root_path, flash: {error: 'Authentication Failed. Something is wrong with the SSO configuration.'}
redirect_to root_path, flash: { error: 'Authentication Failed. Something is wrong with the SSO configuration.' }
end
end
end

0 comments on commit 29ba88c

Please sign in to comment.