auth-vir 5.0.3 → 5.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -312,7 +312,9 @@ export class BackendAuthClient {
|
|
|
312
312
|
? generateLogoutHeaders(await this.getCookieParams({
|
|
313
313
|
isSignUpCookie: !isSignUpCookie,
|
|
314
314
|
requestHeaders,
|
|
315
|
-
})
|
|
315
|
+
}), {
|
|
316
|
+
preserveCsrf: true,
|
|
317
|
+
})
|
|
316
318
|
: undefined;
|
|
317
319
|
const existingUserIdResult = await extractUserIdFromRequestHeaders(requestHeaders, await this.getJwtParams(), this.config.csrf, isSignUpCookie ? AuthCookie.SignUp : AuthCookie.Auth);
|
|
318
320
|
const cookieParams = await this.getCookieParams({
|
package/package.json
CHANGED