sharkey/src/web/app/common/scripts/signout.ls

5 lines
159 B
Plaintext
Raw Normal View History

2016-12-29 07:49:51 +09:00
module.exports = ->
local-storage.remove-item \me
document.cookie = "i=; domain=.#{CONFIG.host}; expires=Thu, 01 Jan 1970 00:00:01 GMT;"
location.href = \/