Add OpenIdService to OpenIdSessionGuard constructor call

This commit is contained in:
Jasper Weyne 2020-07-09 18:00:16 +02:00
parent 13d0260cc9
commit 75b4a05200

View File

@ -9,6 +9,7 @@ use BookStack\Auth\Access\Guards\LdapSessionGuard;
use BookStack\Auth\Access\Guards\Saml2SessionGuard;
use BookStack\Auth\Access\Guards\OpenIdSessionGuard;
use BookStack\Auth\Access\LdapService;
use BookStack\Auth\Access\OpenIdService;
use BookStack\Auth\Access\RegistrationService;
use BookStack\Auth\UserRepo;
use Illuminate\Support\ServiceProvider;
@ -53,6 +54,7 @@ class AuthServiceProvider extends ServiceProvider
$name,
$provider,
$this->app['session.store'],
$app[OpenIdService::class],
$app[RegistrationService::class]
);
});