Skip to content
Snippets Groups Projects
Commit 719eeb0f authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Fix rubocop offense in warden initializers

parent 5f66d1de
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment