fix: csrf

This commit is contained in:
Luc SORIGNET
2025-05-31 17:45:32 +02:00
parent 25e2799c0f
commit 59a0d40130

View File

@ -17,7 +17,6 @@ export const CsrfProvider = ({ children }) => {
fetch(`${BE_AUTH_CSRF_URL}`, { fetch(`${BE_AUTH_CSRF_URL}`, {
method: 'GET', method: 'GET',
credentials: 'include', // Inclut les cookies dans la requête
}) })
.then((response) => response.json()) .then((response) => response.json())
.then((data) => { .then((data) => {