Wipe localForage on log out

pull/1/head
yflory 7 years ago
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…
Cancel
Save