Commit 05df1b6d authored by Robert Speicher's avatar Robert Speicher

Merge branch 'marketo_lead_trials' into 'master'

Back porting changes to trigger user create event on Trial sign up

See merge request gitlab-org/gitlab-ce!32676
parents 551e8645 e13f9319
...@@ -20,6 +20,7 @@ class RegistrationsController < Devise::RegistrationsController ...@@ -20,6 +20,7 @@ class RegistrationsController < Devise::RegistrationsController
super do |new_user| super do |new_user|
persist_accepted_terms_if_required(new_user) persist_accepted_terms_if_required(new_user)
yield new_user if block_given?
end end
rescue Gitlab::Access::AccessDeniedError rescue Gitlab::Access::AccessDeniedError
redirect_to(new_user_session_path) redirect_to(new_user_session_path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment