X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/56570cabf19b73cb496f7482c87bda0648e66ba6..9df0872ce8adf9e3c55ec56a8d92cf4546d4ec61:/app/controllers/confirmations_controller.rb diff --git a/app/controllers/confirmations_controller.rb b/app/controllers/confirmations_controller.rb index 7bbb3a093..27f2c949e 100644 --- a/app/controllers/confirmations_controller.rb +++ b/app/controllers/confirmations_controller.rb @@ -30,6 +30,7 @@ class ConfirmationsController < ApplicationController user.email_valid = true flash[:notice] = gravatar_status_message(user) if gravatar_enable(user) user.save! + cookies.delete :_osm_anonymous_notes_count referer = safe_referer(params[:referer]) if params[:referer] pending_user = session.delete(:pending_user) @@ -90,7 +91,7 @@ class ConfirmationsController < ApplicationController flash[:error] = t ".unknown_token" end - redirect_to edit_account_path + redirect_to account_path end end