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| ...@@ -8,8 +8,8 @@ Rails.application.configure do |config|
when :set_user when :set_user
Gitlab::Auth::Activity.new(user, opts).user_authenticated! Gitlab::Auth::Activity.new(user, opts).user_authenticated!
Gitlab::Auth::Activity.new(user, opts).user_session_override! Gitlab::Auth::Activity.new(user, opts).user_session_override!
when :fetch when :fetch # rubocop:disable Lint/EmptyWhen
# no-op # We ignore session fetch events
else else
Gitlab::Auth::Activity.new(user, opts).user_session_override! Gitlab::Auth::Activity.new(user, opts).user_session_override!
end 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