You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 More fixes 🆙
This commit is contained in:
@@ -200,12 +200,13 @@ Route::middleware(['maintenance', 'check.ban', 'force.staff.2fa'])->group(functi
|
||||
|
||||
if (Features::enabled(Features::twoFactorAuthentication())) {
|
||||
$twoFactorLimiter = config('fortify.limiters.two-factor');
|
||||
$guard = config('fortify.guard');
|
||||
|
||||
Route::post('/two-factor-challenge', [TwoFactorAuthenticatedSessionController::class, 'store'])
|
||||
->middleware(
|
||||
array_filter([
|
||||
'guest:' . config('fortify.guard'),
|
||||
$twoFactorLimiter ? 'throttle:' . $twoFactorLimiter : null,
|
||||
]),
|
||||
is_string($guard) ? 'guest:' . $guard : null,
|
||||
is_string($twoFactorLimiter) ? 'throttle:' . $twoFactorLimiter : null,
|
||||
])
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user