This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
burgernotes-web/static/js/logout.js

9 lines
308 B
JavaScript
Raw Normal View History

// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
window.localStorage.removeItem("DONOTSHARE-secretkey")
window.localStorage.removeItem("DONOTSHARE-password")
window.localStorage.removeItem("CACHE-username")
window.location.replace("/login")
// @license-end