✌️
This commit is contained in:
5
src/web/app/common/scripts/signout.js
Normal file
5
src/web/app/common/scripts/signout.js
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = () => {
|
||||
localStorage.removeItem('me');
|
||||
document.cookie = `i=; domain=.${CONFIG.host}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`;
|
||||
location.href = '/';
|
||||
};
|
Reference in New Issue
Block a user