]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Merge branch 'pull/5182'
[rails.git] / app / controllers / users_controller.rb
index bc1baf8a59208e682f5c6b60689ae46e0024e7bf..fc893c9c3194f6c40a65ce61e1d73e9824ba0747 100644 (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