summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAishwarya Subramanian <asubramanian@gitlab.com>2019-08-26 22:03:35 +0530
committerAishwarya Subramanian <asubramanian@gitlab.com>2019-08-26 22:03:35 +0530
commitab560c72b85c521054146ea606aacf6e420694ea (patch)
tree1c1287aba590492c99f7ec62689a9e457c3524ff
parentcf4856337d50ca3eab59a34e8d5a10441999a920 (diff)
downloadgitlab-ce-ab560c72b85c521054146ea606aacf6e420694ea.tar.gz
Added skip_authorization as true for trials
-rw-r--r--app/controllers/registrations_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb
index e773ec09924..3701abe9d32 100644
--- a/app/controllers/registrations_controller.rb
+++ b/app/controllers/registrations_controller.rb
@@ -115,7 +115,7 @@ class RegistrationsController < Devise::RegistrationsController
end
def resource
- @resource ||= Users::BuildService.new(current_user, sign_up_params).execute
+ @resource ||= Users::BuildService.new(current_user, sign_up_params).execute(skip_authorization: true)
end
def devise_mapping