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-05-18 12:10:09 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-18 12:10:09 +0300
commit21d0f7ad2dda300b204d3103d7970b7525ad91cc (patch)
tree4e18b88581d45b0d9850109d9680eec8c9b09000 /app/helpers/registrations_helper.rb
parent55e0080f9d6b971145ee95c62dbb65feacaa93f8 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/registrations_helper.rb')
-rw-r--r--app/helpers/registrations_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/registrations_helper.rb b/app/helpers/registrations_helper.rb
index fcd560dbe8c..6f6a440ab13 100644
--- a/app/helpers/registrations_helper.rb
+++ b/app/helpers/registrations_helper.rb
@@ -14,6 +14,10 @@ module RegistrationsHelper
def signup_box_template
'devise/shared/signup_box'
end
+
+ def register_omniauth_params(_local_assigns)
+ { intent: :register }
+ end
end
RegistrationsHelper.prepend_mod_with('RegistrationsHelper')