X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/58b10a31dbe2f1ca97c27e65d79939bec1458231..b99e8702912226ffc9264efaeede2d4d2e3c7156:/app/controllers/user_controller.rb diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 9551ac6d8..83c414ef2 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -209,6 +209,8 @@ class UserController < ApplicationController @user = token.user @user.active = true @user.email_valid = true + @user.terms_agreed = Time.now.getutc + @user.consider_pd = true if params[:consider_pd] @user.save! referer = token.referer token.destroy