laravel / fortify

Backend controllers and scaffolding for Laravel authentication.

Home Page:https://laravel.com/docs/fortify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integrate Precognition Into Fortify Route

GitzJoey opened this issue · comments

    Route::post(RoutePath::for('login', '/login'), [AuthenticatedSessionController::class, 'store'])
        ->middleware(array_filter([
            'guest:'.config('fortify.guard'),
            $limiter ? 'throttle:'.$limiter : null,
        ]));

this route in fortify, it would be better if there's a way to add precognition middleware, so precognition can be used also in fortify
understand that we can override this route easily, but it would be nicer if laravel ecosystem is filling each others gap.

Thanks. Right now we have no plans for this sorry.