fix: GitHub token cleanup on team switch
This commit is contained in:
parent
cbfb9a3844
commit
c05a140b0b
@ -57,7 +57,8 @@ export const post: RequestHandler = async (event) => {
|
|||||||
headers: {
|
headers: {
|
||||||
'set-cookie': [
|
'set-cookie': [
|
||||||
`${cookie}=${value}; HttpOnly; Path=/; Max-Age=15778800;`,
|
`${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
|
Location: from
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user