BookStack/app/Http/Middleware
Dan Brown 6f1b88a6a6
Change email confirmation from own middle to trait
Email confirmation middleware caused more mess than good, As caused
priority issues and it depended on auth actions. Instead its now a trai
used on auth middlewares.

Also used 'EncryptCookies' middleware on API instead of custom
decryption in custom middleware since we'd need to do replicate all the
same actions anyway. Shouldn't have too much effect since it only
actions over cookies that exist, of which none should be there for most
API requests.

Also split out some large guard functions to be a little more readable
and appease codeclimate.
2019-12-30 15:49:20 +00:00
..
ApiAuthenticate.php Change email confirmation from own middle to trait 2019-12-30 15:49:20 +00:00
Authenticate.php Change email confirmation from own middle to trait 2019-12-30 15:49:20 +00:00
CheckForMaintenanceMode.php Ran phpcbf and updated helpers typehinting 2019-09-15 18:29:51 +01:00
ChecksForEmailConfirmation.php Change email confirmation from own middle to trait 2019-12-30 15:49:20 +00:00
EncryptCookies.php Updated to laravel 5.5 2017-11-19 15:56:19 +00:00
GlobalViewData.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
Localization.php Updated Korean to be correct country code 2019-10-18 14:27:41 +01:00
PermissionMiddleware.php Change application namespace to BookStack 2015-09-10 19:31:09 +01:00
RedirectIfAuthenticated.php Added user setting system and added user-lang option 2017-01-15 16:27:24 +00:00
StartSessionIfCookieExists.php Change email confirmation from own middle to trait 2019-12-30 15:49:20 +00:00
TrimStrings.php Updated to laravel 5.5 2017-11-19 15:56:19 +00:00
TrustProxies.php Fix "Declaration of Middleware\TrustProxies::handle should be compatible with Fideloper\Proxy\TrustProxies::handle" 2019-11-20 14:00:20 +03:00
VerifyCsrfToken.php Started using OneLogin SAML lib directly 2019-11-17 13:26:43 +00:00