feature(client) add ability to clear localStorage on logOut

This commit is contained in:
coderaiser 2018-06-11 15:20:48 +03:00
parent 76c3db3e5f
commit 0202192fc0

View file

@ -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,