mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 01:42:19 +00:00
Clean up some code.
This commit is contained in:
@@ -122,68 +122,6 @@ class Kernel extends HttpKernel
|
|||||||
Binder::class,
|
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' => [
|
'api' => [
|
||||||
'throttle:60,1',
|
'throttle:60,1',
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user