debian-mirror-gitlab/config/initializers/warden.rb
2017-08-17 22:00:37 +05:30

5 lines
158 B
Ruby

Rails.application.configure do |config|
Warden::Manager.after_set_user do |user, auth, opts|
Gitlab::Auth::UniqueIpsLimiter.limit_user!(user)
end
end