]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Merge remote-tracking branch 'upstream/pull/2989' into master
[rails.git] / app / controllers / users_controller.rb
index 288fb2d5ca547ce08d29de3dbe4db0739def7863..7f12720a6efeb8c3110f3bbde92be78efb03f0bf 100644 (file)
@@ -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"