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

5 lines
159 B
Text
Raw Normal View History

2016-12-28 23:49:51 +01: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 = \/