mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-04 08:30:39 +00:00
Flush cache after username change
This commit is contained in:
@@ -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
|
||||
// ------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user