Fix rubocop offense in warden initializers

This commit is contained in:
Grzegorz Bizon 2018-07-27 15:25:21 +02:00
parent 5f66d1de09
commit 719eeb0f49
1 changed files with 2 additions and 2 deletions

View File

@ -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