Skip to content

Commit

Permalink
Rollback metrics tracking around signup
Browse files Browse the repository at this point in the history
  • Loading branch information
nid90 committed Oct 5, 2023
1 parent e070053 commit bf66f37
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/controllers/authentication/registrations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ class Authentication::RegistrationsController < Devise::RegistrationsController
before_action :configure_permitted_parameters, if: :devise_controller?
before_action :set_invite_token, only: [:new, :create]
before_action :set_invite, only: [:new, :create]
after_action :identify_team, only: [:create]
alias_method :user, :resource
helper_method :user

Expand Down Expand Up @@ -98,8 +97,4 @@ def sign_up_params_for_invites
def sign_up_email
sign_up_params[:email]
end

def identify_team
SiteAnalytics.identify_and_group(user.reload, user.reload.organizations.first)
end
end

0 comments on commit bf66f37

Please sign in to comment.