diff options
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 |