Ajout de l'authentification

This commit is contained in:
Dayamond
2025-10-18 16:52:01 +02:00
parent 70fbc02918
commit 1c00dbdb85
7 changed files with 94 additions and 5 deletions
+1 -1
View File
@@ -29,6 +29,6 @@ return [
'max_age' => 0,
'supports_credentials' => false,
'supports_credentials' => true,
];
+1 -1
View File
@@ -17,7 +17,7 @@ return [
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
'%s%s',
'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
'localhost,localhost:5173,127.0.0.1,127.0.0.1:8000,::1',
Sanctum::currentApplicationUrlWithPort(),
// Sanctum::currentRequestHost(),
))),