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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user