Merge branch 'pull/5182'

This commit is contained in:
Anton Khorev 2024-09-12 09:43:56 +03:00
commit e2a6701696
4 changed files with 21 additions and 1 deletions

View file

@ -269,6 +269,7 @@ class UsersController < ApplicationController
current_user.data_public = true
current_user.description = "" if current_user.description.nil?
current_user.creation_ip = request.remote_ip
current_user.creation_address = request.remote_ip
current_user.languages = http_accept_language.user_preferred_languages
current_user.terms_agreed = Time.now.utc
current_user.tou_agreed = Time.now.utc