diff --git a/src/gui/src/helpers/update_username_in_gui.js b/src/gui/src/helpers/update_username_in_gui.js index cff607846..d1bbd47d0 100644 --- a/src/gui/src/helpers/update_username_in_gui.js +++ b/src/gui/src/helpers/update_username_in_gui.js @@ -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 // ------------------------------------------------------------