fix: GitHub token cleanup on team switch

This commit is contained in:
Andras Bacsai 2022-04-22 11:43:55 +02:00
parent cbfb9a3844
commit c05a140b0b

View File

@ -57,7 +57,8 @@ export const post: RequestHandler = async (event) => {
headers: {
'set-cookie': [
`${cookie}=${value}; HttpOnly; Path=/; Max-Age=15778800;`,
'gitlabToken=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT'
'gitlabToken=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT',
'githubToken=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT'
],
Location: from
}