X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7c3a4b497e8f99d2642260ec604d111f4a866b01..85d17f257c338f668a1d17d9fc62a2f48ec84230:/app/controllers/user_controller.rb diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 5c11a5c75..a59190697 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -663,6 +663,8 @@ private if user.save set_locale + cookies.permanent["_osm_username"] = user.display_name + if user.new_email.blank? flash.now[:notice] = t 'user.account.flash update success' else