X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/83c8892c4614bf66e4ecb36deb6b1ef1b21f3187..88ba316abeecffccd1cb51c63ce5594c95023624:/app/controllers/users_controller.rb?ds=sidebyside 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"