fix: ajout de credential include dans get CSRF

This commit is contained in:
Luc SORIGNET
2025-05-31 18:53:04 +02:00
parent 789816e986
commit c161fa7e75

View File

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