Log out: Difference between revisions
From ASDSO Dam Safety Toolbox
No edit summary |
No edit summary |
||
Line 51: | Line 51: | ||
const d = new Date(); | const d = new Date(); | ||
d.setTime(d.getTime()-3600); | d.setTime(d.getTime()-3600); | ||
console.log(d.toUTCString()); | |||
document.cookie = "remoteUserEmail=; expires="+ d.toUTCString() + "; path=/;"; | document.cookie = "remoteUserEmail=; expires="+ d.toUTCString() + "; path=/;"; | ||