diff options
author | Aishwarya Subramanian <asubramanian@gitlab.com> | 2019-09-06 16:23:14 +0000 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-09-06 16:23:14 +0000 |
commit | e13f9319dd69a837bf9d37ee0969087809902850 (patch) | |
tree | 01bb2f148f2b83608596653c260042cdb4dbde26 /app | |
parent | 551e864547b866a19aa1d9b3af2b259886a14fc2 (diff) | |
download | gitlab-ce-e13f9319dd69a837bf9d37ee0969087809902850.tar.gz |
Back porting changes to trigger user create event on Trial sign up
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/registrations_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index e773ec09924..fb631f09f10 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -20,6 +20,7 @@ class RegistrationsController < Devise::RegistrationsController super do |new_user| persist_accepted_terms_if_required(new_user) + yield new_user if block_given? end rescue Gitlab::Access::AccessDeniedError redirect_to(new_user_session_path) |