jonnybarnes.uk/app/Http/Middleware
Jonny Barnes 2e79492b01 Protect admin routes with new eloquent sessions
When using Laravel’s own auth middleware an exception would then get
thrown which was being sent to Slack, hmmm.

So I modified the original MyAuthMiddleware to use the Auth facade
instead of a custom session key.

A logout page has also been added.
2019-03-23 09:35:07 +00:00
..
ActivityStreamLinks.php Struct Types 2018-01-15 14:02:13 +00:00
Authenticate.php Get repo up to date with changes in laravel/laravel (issue #95) 2019-01-27 13:51:21 +00:00
CheckForMaintenanceMode.php Get repo up to date with changes in laravel/laravel (issue #95) 2019-01-27 13:51:21 +00:00
CorsHeaders.php Shorten some lines to less than 120 chars 2018-03-02 17:47:20 +00:00
CSPHeader.php Fix mapbox on safari (issue #87) 2019-02-01 14:56:02 +00:00
EncryptCookies.php Update the app to Laravel 5.5 2017-09-04 19:34:39 +01:00
LinkHeadersMiddleware.php Fix: correct Link header syntax 2016-10-26 15:34:56 +01:00
LocalhostSessionMiddleware.php Struct Types 2018-01-15 14:02:13 +00:00
MyAuthMiddleware.php Protect admin routes with new eloquent sessions 2019-03-23 09:35:07 +00:00
RedirectIfAuthenticated.php Improved test code coverage, including necessary refactor 2017-12-07 15:06:56 +00:00
TrimStrings.php Update the app to Laravel 5.5 2017-09-04 19:34:39 +01:00
TrustProxies.php Update to Laravel 5.6 2018-02-15 12:26:59 +00:00
VerifyCsrfToken.php Update the app to Laravel 5.5 2017-09-04 19:34:39 +01:00
VerifyMicropubToken.php Struct Types 2018-01-15 14:02:13 +00:00