Remove unnecessary state from oauth redirect

This commit is contained in:
Regalijan 2023-11-21 18:22:33 -05:00
parent 2668fb4e2a
commit e5b446ae1d
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -32,7 +32,7 @@ export async function onRequestPost(context: RequestContext) {
`http${host.startsWith(
"localhost" ? "" : "s",
)}://${host}/api/data-transfers/verify`,
)}&state=${id}"}`,
)}"}`,
{
headers: {
"set-cookie": `__dtid=${id}; HttpOnly; Max-Age=3600; Path=/; SameSite=Lax; Secure`,