Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Jan 15, 2025
1 parent ef83f09 commit 3392624
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ gem 'i18n-js', '~> 4.2.3'
gem 'rails-i18n', '~> 8.0.1'

# email exceptions
gem "exception_notification", git: "https://github.com/smartinez87/exception_notification.git", branch: "master" # following master until fix is released for https://github.com/smartinez87/exception_notification/issues/545
gem 'exception_notification', git: 'https://github.com/smartinez87/exception_notification.git', branch: 'master' # following master until fix is released for https://github.com/smartinez87/exception_notification/issues/545
gem 'httparty', '~> 0.22.0'
gem 'slack-notifier', '~> 2.4.0'

Expand Down
2 changes: 1 addition & 1 deletion app/controllers/auth/omniauth_callbacks_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def create_identity_from_session!(user)

# Set a flash message.
set_flash_message :notice, :identity_created, provider: original_provider.readable_name
if session[:hide_flash].blank? && (original_provider.issuer == 'https://ufora.ugent.be' || original_provider.issuer == 'https://uforatest.ugent.be')
if session[:hide_flash].blank? && %w[https://ufora.ugent.be https://uforatest.ugent.be].include?(original_provider.issuer)
# Set a Ufora/UGent specific flash message.
set_flash_message :notice, :linked
end
Expand Down

0 comments on commit 3392624

Please sign in to comment.