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 21568e4 commit ac270f6Copy full SHA for ac270f6
app/Http/Kernel.php
bootstrap/app.php
@@ -14,7 +14,12 @@
14
health: '/up',
15
)
16
->withMiddleware(function (Middleware $middleware) {
17
- //
+ $middleware->redirectGuestsTo(fn () => route('login'));
18
+ $middleware->redirectUsersTo(RouteServiceProvider::HOME);
19
+
20
+ $middleware->web(\App\Http\Middleware\DisableFloc::class);
21
22
+ $middleware->throttleApi();
23
})
24
->withExceptions(function (Exceptions $exceptions) {
25
//
0 commit comments