Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-08-23 15:08:38 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-08-23 15:08:38 +0300
commit41fb807ff49f759a25e7db51a61a1356ff41ed4b (patch)
treea2e1f1fe93171f1e26c7d299101d4068ddffeab3 /app/controllers
parent9134f0b5004a86687259332bd7edd2fa67dfb76b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/registrations_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb
index d8064bbbe82..ec824eed8e1 100644
--- a/app/controllers/registrations_controller.rb
+++ b/app/controllers/registrations_controller.rb
@@ -12,6 +12,7 @@ class RegistrationsController < Devise::RegistrationsController
include PreferredLanguageSwitcher
include Gitlab::Tracking::Helpers::WeakPasswordErrorEvent
include SkipsAlreadySignedInMessage
+ include Gitlab::RackLoadBalancingHelpers
layout 'devise'
@@ -138,7 +139,7 @@ class RegistrationsController < Devise::RegistrationsController
if identity_verification_enabled?
session[:verification_user_id] = resource.id # This is needed to find the user on the identity verification page
- User.sticking.stick_or_unstick_request(request.env, :user, resource.id)
+ load_balancer_stick_request(::User, :user, resource.id)
return identity_verification_redirect_path
end