+1
-1
@@ -30,7 +30,7 @@ return Application::configure(basePath: dirname(__DIR__))
|
||||
]);
|
||||
})
|
||||
->withExceptions(function (Exceptions $exceptions): void {
|
||||
$exceptions->dontFlash(['account_identifier', 'beneficiary', 'external_reference', 'evidence_reference', 'reason', 'second_password', 'second_password_confirmation']);
|
||||
$exceptions->dontFlash(['token', 'account_identifier', 'beneficiary', 'external_reference', 'evidence_reference', 'reason', 'second_password', 'second_password_confirmation']);
|
||||
$exceptions->shouldRenderJsonWhen(
|
||||
fn (Request $request) => $request->is('api/*') || $request->expectsJson(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user