Skip to content
Snippets Groups Projects
Commit 05df1b6d authored by Robert Speicher's avatar Robert Speicher
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment