mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-12 05:15:18 -05:00
fix: clear cached store data on logout to prevent user data leakage (#6665)
This commit is contained in:
@@ -52,7 +52,7 @@ export const useStore = function <T extends BoundT>(
|
||||
return await storeActions.refresh(1, -1, params);
|
||||
},
|
||||
flushStore() {
|
||||
store = ref([]);
|
||||
store.value = [];
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user