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:
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 2595b646964..5f05337e59e 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -551,13 +551,9 @@ class ApplicationController < ActionController::Base
"#{self.class.name}##{action_name}"
end
- # A user requires a role and have the setup_for_company attribute set when they are part of the experimental signup
- # flow (executed by the Growth team). Users are redirected to the welcome page when their role is required and the
- # experiment is enabled for the current user.
def required_signup_info
return unless current_user
return unless current_user.role_required?
- return unless experiment_enabled?(:signup_flow)
store_location_for :user, request.fullpath