X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2c9c427587a7cb42136315d6c1d533d3eb058545..24fc94944bc62de99ddf5ad81ed2598cc0d72680:/app/controllers/user_controller.rb diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index ea6e1a8d5..d3ed53c1b 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -220,6 +220,8 @@ class UserController < ApplicationController flash.now[:notice] = render_to_string :partial => "auth_association" else check_signup_allowed + + self.current_user = User.new end end