]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
Renaming the include action to expand_bbox in the changeset controller.
[rails.git] / app / controllers / user_controller.rb
index 196d5cea66267c8e552649a6db2fd49320ad021c..b9ed5409658ac85a614124961f54ee1da77f6f12 100644 (file)
@@ -16,6 +16,7 @@ class UserController < ApplicationController
     @user.visible = true
     @user.data_public = true
     @user.description = "" if @user.description.nil?
+    @user.creation_ip = request.remote_ip
 
     if @user.save
       flash[:notice] = "User was successfully created. Check your email for a confirmation note, and you\'ll be mapping in no time :-)<br>Please note that you won't be able to login until you've received and confirmed your email address."