Skip to content

Commit

Permalink
update deleting old cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
nikiwycherley committed Jun 21, 2023
1 parent ebc79a7 commit 66d6f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ async function deleteOldCookies () {
for (let i = 0; i < cookies.length; i++) {
const cookie = cookies[i].trim()
const name = cookie.split('=')[0]
document.cookie = name + '=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/'
deleteCookie(name)
}
}
document.cookie = 'cookies_update=true;path=/;'
Expand Down

0 comments on commit 66d6f4e

Please sign in to comment.