]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
Merge 7452:7744 from trunk.
[rails.git] / app / controllers / user_controller.rb
index 5d113910d86916f10b44e2b7e33111e7672b9241..e998e83c69d86e843f4763f2e42e41bfd295034c 100644 (file)
@@ -11,6 +11,8 @@ class UserController < ApplicationController
     @title = 'create account'
     @user = User.new(params[:user])
 
+    @user.data_public = true
+      
     if @user.save
       token = @user.tokens.create
       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."