1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 07:24:27 +02:00

Split SessionServiceProvider from UserServiceProvider

This lets us register the former during installation, where the
latter is not yet registered.

That, in turn, means we can finally re-enable the StartSession
middleware in the installer app, which we need to log in the new
admin user when installation is complete.
This commit is contained in:
Franz Liedke
2018-08-14 23:30:49 +02:00
parent 32ad926cbc
commit fb5740926a
6 changed files with 42 additions and 17 deletions

View File

@@ -38,7 +38,7 @@ class Installer implements AppInterface
{
$pipe = new MiddlewarePipe;
$pipe->pipe($this->laravel->make(HandleErrorsWithWhoops::class));
#$pipe->pipe($this->laravel->make(StartSession::class));
$pipe->pipe($this->laravel->make(StartSession::class));
$pipe->pipe(
$this->laravel->make(
DispatchRoute::class,