diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-07-27 16:25:21 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-07-27 16:25:21 +0300 |
commit | 719eeb0f49e4200c345ba555b343a65227a3258e (patch) | |
tree | d483c3caa5f42558a99974fb6904bf786ed9d61f /config | |
parent | 5f66d1de09d52988cfa0b519e61914713015c75c (diff) |
Fix rubocop offense in warden initializers
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/warden.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/warden.rb b/config/initializers/warden.rb index fcd52e63141..3d632232930 100644 --- a/config/initializers/warden.rb +++ b/config/initializers/warden.rb @@ -8,8 +8,8 @@ Rails.application.configure do |config| when :set_user Gitlab::Auth::Activity.new(user, opts).user_authenticated! Gitlab::Auth::Activity.new(user, opts).user_session_override! - when :fetch - # no-op + when :fetch # rubocop:disable Lint/EmptyWhen + # We ignore session fetch events else Gitlab::Auth::Activity.new(user, opts).user_session_override! end |