X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/20ce10a9ef722cc95402ad2e488b56f32f8169e1..10065abea62eee73eb572be6fd6bcbb4a6f9a6d9:/app/controllers/users_controller.rb?ds=inline 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"