🔥 بلکفرایدی راکت: ۷۰٪ تخفیف روی همه دورهها | سالی یک بار. وقتی تایمر صفر بشه، قیمتها برمیگرده
مشاهده دورههاسلام دوستان
میخواستم در فرم لاگین به جای ایمیل یک مقدار دیگه مثلا موبایل دریافت کند
در این قسمت باید چه تغییراتی انجام بدم ؟
protected function loginPipeline(LoginRequest $request)
{
if (Fortify::$authenticateThroughCallback) {
return (new Pipeline(app()))->send($request)->through(array_filter(
call_user_func(Fortify::$authenticateThroughCallback, $request)
));
}
if (is_array(config('fortify.pipelines.login'))) {
return (new Pipeline(app()))->send($request)->through(array_filter(
config('fortify.pipelines.login')
));
}
return (new Pipeline(app()))->send($request)->through(array_filter([
config('fortify.limiters.login') ? null : EnsureLoginIsNotThrottled::class,
Features::enabled(Features::twoFactorAuthentication()) ? RedirectIfTwoFactorAuthenticatable::class : null,
AttemptToAuthenticate::class,
PrepareAuthenticatedSession::class,
]));
}