Commit 815a5f2e authored by Nick Nguyen's avatar Nick Nguyen

Remove disable_query_limiting in RegistrationsController

parent ada427b8
......@@ -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