Wipe localForage on log out

This commit is contained in:
yflory 2017-11-07 14:56:50 +01:00
parent 6b9ffe8dd1
commit 0956905ca8

View File

@ -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]) {