Commit e13f9319 authored by Aishwarya Subramanian's avatar Aishwarya Subramanian Committed by Robert Speicher

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

parent 551e8645
...@@ -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