diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-29 06:08:16 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-29 06:08:16 +0000 |
commit | 2958635884b1dc5c8c01b5f00f0b7b7359556c37 (patch) | |
tree | fc875db03082af0ea8861a9cbf32d7c58e98d461 /app/controllers/registrations_controller.rb | |
parent | c70ed55242619ebd139c029a1f3c531d6b81a327 (diff) | |
download | gitlab-ce-2958635884b1dc5c8c01b5f00f0b7b7359556c37.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/registrations_controller.rb')
-rw-r--r-- | app/controllers/registrations_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index c7da029d2f3..fa691af135b 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -68,6 +68,9 @@ class RegistrationsController < Devise::RegistrationsController if result[:status] == :success track_experiment_event(:signup_flow, 'end') # We want this event to be tracked when the user is _in_ the experimental group + + return redirect_to new_users_sign_up_group_path if experiment_enabled?(:onboarding_issues) && !helpers.in_subscription_flow? && !helpers.in_invitation_flow? + set_flash_message! :notice, :signed_up redirect_to path_for_signed_in_user(current_user) else |