Commit 719eeb0f authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix rubocop offense in warden initializers

parent 5f66d1de
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment