Wipe localForage on log out
This commit is contained in:
parent
6b9ffe8dd1
commit
0956905ca8
@ -327,6 +327,7 @@ define([
|
|||||||
delete localStorage[k];
|
delete localStorage[k];
|
||||||
delete sessionStorage[k];
|
delete sessionStorage[k];
|
||||||
});
|
});
|
||||||
|
localForage.clear();
|
||||||
// Make sure we have an FS_hash in localStorage before reloading all the tabs
|
// Make sure we have an FS_hash in localStorage before reloading all the tabs
|
||||||
// so that we don't end up with tabs using different anon hashes
|
// so that we don't end up with tabs using different anon hashes
|
||||||
if (!localStorage[fileHashKey]) {
|
if (!localStorage[fileHashKey]) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user