mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(client) add ability to clear localStorage on logOut
This commit is contained in:
parent
76c3db3e5f
commit
0202192fc0
1 changed files with 1 additions and 0 deletions
|
|
@ -273,6 +273,7 @@ function CloudCmdProto(Util, DOM) {
|
|||
const url = CloudCmd.PREFIX + '/logout';
|
||||
const error = () => document.location.reload();
|
||||
|
||||
DOM.Storage.clear();
|
||||
unregisterSW();
|
||||
DOM.load.ajax({
|
||||
url,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue