Flush cache after username change

This commit is contained in:
Nariman Jelveh
2026-04-27 12:13:26 -07:00
parent acf84a7929
commit 66fa5fd569
@@ -18,6 +18,10 @@
*/
const update_username_in_gui = function (new_username) {
// ------------------------------------------------------------
// Flush cache
// ------------------------------------------------------------
puter._cache.flushall();
// ------------------------------------------------------------
// Update all item/window/... paths, with the new username
// ------------------------------------------------------------