X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/83c8892c4614bf66e4ecb36deb6b1ef1b21f3187..10065abea62eee73eb572be6fd6bcbb4a6f9a6d9:/app/controllers/users_controller.rb diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 288fb2d5c..7f12720a6 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -652,7 +652,7 @@ class UsersController < ApplicationController if user.save session[:fingerprint] = user.fingerprint - set_locale(true) + set_locale(:reset => true) if user.new_email.blank? || user.new_email == user.email flash.now[:notice] = t "users.account.flash update success"