X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/83c8892c4614bf66e4ecb36deb6b1ef1b21f3187..404f99af1a98e780bb9e3845ef00aa72960d69cc:/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"