mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 15:33:22 +00:00
fix: ajout de credential include dans get CSRF
This commit is contained in:
@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user