Remove pd checkbox from terms page

This commit is contained in:
Anton Khorev 2025-01-18 07:23:55 +03:00
parent 9254f0c2be
commit 41a1867043
4 changed files with 2 additions and 17 deletions

View file

@ -34,7 +34,6 @@ module Accounts
flash[:notice] = { :partial => "accounts/terms/terms_declined_flash" } if current_user.save
else
unless current_user.terms_agreed?
current_user.consider_pd = params[:user][:consider_pd]
current_user.tou_agreed = Time.now.utc
current_user.terms_agreed = Time.now.utc
current_user.terms_seen = true