Commit 5013b34b authored by Sean McGivern's avatar Sean McGivern

Merge branch 'nhxnguyen-master-patch-02906' into 'master'

Remove disable_query_limiting in RegistrationsController

See merge request gitlab-org/gitlab!57597
parents 5624ff09 815a5f2e
......@@ -9,7 +9,7 @@ class RegistrationsController < Devise::RegistrationsController
layout 'devise'
prepend_before_action :check_captcha, only: :create
before_action :disable_query_limiting, :ensure_destroy_prerequisites_met, only: [:destroy]
before_action :ensure_destroy_prerequisites_met, only: [:destroy]
before_action :load_recaptcha, only: :new
before_action :set_invite_params, only: :new
......@@ -162,10 +162,6 @@ class RegistrationsController < Devise::RegistrationsController
@devise_mapping ||= Devise.mappings[:user]
end
def disable_query_limiting
Gitlab::QueryLimiting.disable!('https://gitlab.com/gitlab-org/gitlab/-/issues/20798')
end
def load_recaptcha
Gitlab::Recaptcha.load_configurations!
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