Keeps the dashboard sessions from expiring. (#9263)

* Keeps the dashboard sessions from expiring.
Route dashboard ajax calls through Laravel.
Boots minimal cookies and sessions.
Does not fix other pages for now, real fix is to fully port.

* Check Laravel auth for the legacy calls.
Display Laravel errors in the dashboard.
legacy auth checks are mostly extraneous now.
This commit is contained in:
Tony Murray
2018-09-30 21:23:00 -05:00
committed by GitHub
parent c36a9e9abf
commit 14a168b2a9
9 changed files with 167 additions and 58 deletions

View File

@@ -41,6 +41,11 @@ class Kernel extends HttpKernel
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
'minimal' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Session\Middleware\StartSession::class,
],
'api' => [
'bindings',
'auth:token'