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-09-01 09:09:38 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-09-01 09:09:38 +0300
commit7401c3a232003e3901010eccb4a31b7aa2741473 (patch)
treeb6fd8487c0eea8dcf2dbacd96d96da0eecba3266 /app/controllers
parent902b42250634a30b90b9f3bb40f026633c923dcc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/registrations_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb
index 6dd81a25217..a8b5ca81f49 100644
--- a/app/controllers/registrations_controller.rb
+++ b/app/controllers/registrations_controller.rb
@@ -13,6 +13,7 @@ class RegistrationsController < Devise::RegistrationsController
include Gitlab::Tracking::Helpers::WeakPasswordErrorEvent
include SkipsAlreadySignedInMessage
include Gitlab::RackLoadBalancingHelpers
+ include ::Gitlab::Utils::StrongMemoize
layout 'devise'
@@ -247,6 +248,7 @@ class RegistrationsController < Devise::RegistrationsController
sign_up_params[:email] == invite_email
end
+ strong_memoize_attr :registered_with_invite_email?
def load_recaptcha
Gitlab::Recaptcha.load_configurations!