Fix rubocop offense in warden initializers
This commit is contained in:
parent
5f66d1de09
commit
719eeb0f49
|
@ -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…
Reference in New Issue