We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb8e245 commit e4460a7Copy full SHA for e4460a7
routes.php
@@ -3,11 +3,6 @@
3
$api = app('api.router');
4
5
$api->version('v1', function ($api) {
6
- // Define the routes to issue tokens & initialize CSRF protection.
+ // Define the routes to issue tokens.
7
$api->post('/token', [\Igniter\Api\Controllers\Tokens::class, 'create']);
8
-
9
- $api->get(
10
- '/csrf-cookie',
11
- \Laravel\Sanctum\Http\Controllers\CsrfCookieController::class.'@show'
12
- )->middleware('web');
13
});
0 commit comments