From cb34ff4c837b2ed1874386d739de3af0e307c79d Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 29 Mar 2016 16:02:54 +0200 Subject: [PATCH] Clean up some code. --- app/Http/Kernel.php | 62 --------------------------------------------- 1 file changed, 62 deletions(-) diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 61887f68b6..930687c575 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -122,68 +122,6 @@ class Kernel extends HttpKernel Binder::class, ], -// -// // must be authenticated -// // must be 2fa (if enabled) -// // must be activated account -// 'web-auth' => [ -// EncryptCookies::class, -// AddQueuedCookiesToResponse::class, -// StartSession::class, -// ShareErrorsFromSession::class, -// VerifyCsrfToken::class, -// Authenticate::class, -// AuthenticateTwoFactor::class, -// IsConfirmed::class, -// ], -// // must be authenticated -// // must be 2fa (if enabled) -// // must NOT be activated account -// 'web-auth-no-confirm' => [ -// EncryptCookies::class, -// AddQueuedCookiesToResponse::class, -// StartSession::class, -// ShareErrorsFromSession::class, -// VerifyCsrfToken::class, -// Authenticate::class, -// AuthenticateTwoFactor::class, -// IsNotConfirmed::class, -// ], -// // must be authenticated -// // does not care about 2fa -// // must be confirmed. -// 'web-auth-no-two-factor' => [ -// EncryptCookies::class, -// AddQueuedCookiesToResponse::class, -// StartSession::class, -// ShareErrorsFromSession::class, -// VerifyCsrfToken::class, -// Authenticate::class, -// RedirectIfTwoFactorAuthenticated::class, -// IsConfirmed::class, -// ], -// 'web-auth-no-two-factor-any-confirm' => [ -// EncryptCookies::class, -// AddQueuedCookiesToResponse::class, -// StartSession::class, -// ShareErrorsFromSession::class, -// VerifyCsrfToken::class, -// Authenticate::class, -// RedirectIfTwoFactorAuthenticated::class, -// ], -// 'web-auth-range' => [ -// EncryptCookies::class, -// AddQueuedCookiesToResponse::class, -// StartSession::class, -// ShareErrorsFromSession::class, -// VerifyCsrfToken::class, -// Authenticate::class, -// AuthenticateTwoFactor::class, -// IsConfirmed::class, -// Range::class, -// Binder::class, -// ], - 'api' => [ 'throttle:60,1', ],