We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5af60ec commit 19e52f7Copy full SHA for 19e52f7
config/config.php
@@ -14,7 +14,7 @@
14
15
// 'middleware' => ['api', 'auth:sanctum'],
16
17
- // 'path' => 'user',
+ // 'path' => '/api/user',
18
// ],
19
20
];
routes/routes.php
@@ -25,7 +25,7 @@
25
->name('password.reset');
26
27
Route::get(
28
- config('auth_spa.http.profile_info.path', 'user'),
+ config('auth_spa.http.profile_info.path', 'api/user'),
29
config('auth_spa.http.profile_info.controller', ProfileInfoController::class)
30
)
31
->middleware(config('auth_spa.http.profile_info.middleware', ['api', 'auth:sanctum']))
0 commit comments