mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Wipe localForage on log out
This commit is contained in:
parent
6b9ffe8dd1
commit
0956905ca8
@ -327,6 +327,7 @@ define([
|
||||
delete localStorage[k];
|
||||
delete sessionStorage[k];
|
||||
});
|
||||
localForage.clear();
|
||||
// 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
|
||||
if (!localStorage[fileHashKey]) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user