feat: ✨ Aggiunta route per ottenere un nuovo CSRF
This commit is contained in:
parent
de7d6db03b
commit
8d7a4183a8
|
@ -26,3 +26,7 @@ JsonApiRoute::server('v1')
|
|||
|
||||
Route::get('modules', [Controller::class, 'getModules'])
|
||||
->name('modules');
|
||||
|
||||
Route::get('refresh_csrf', static fn() => response()->json(csrf_token()))
|
||||
->middleware('web')
|
||||
->name('csrf.renew');
|
||||
|
|
Loading…
Reference in New Issue