Update reauth function
This commit is contained in:
parent
0e266f3df2
commit
e06b6cb877
@ -210,6 +210,10 @@ async function reauthUser({
|
||||
`${csrfName}=${httpResponse.payload.csrf_k};samesite=strict;path=/;HttpOnly=true`,
|
||||
`dsqluid=${userId};samesite=strict;path=/;HttpOnly=true`,
|
||||
]);
|
||||
|
||||
if (token) {
|
||||
httpResponse.token = encryptedPayload;
|
||||
}
|
||||
}
|
||||
|
||||
/** ********************************************** */
|
||||
|
Loading…
Reference in New Issue
Block a user