X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/555a821c3e1b79093b63b96e981c4766cf43baa9..e31376e28da8f656e33508cc899da465b63673c5:/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