From: Jasper Weyne Date: Thu, 9 Jul 2020 16:00:16 +0000 (+0200) Subject: Add OpenIdService to OpenIdSessionGuard constructor call X-Git-Tag: v21.10~1^2~21^2~11^2~6 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/75b4a05200ebf6b107b4448915f811f247bcba69 Add OpenIdService to OpenIdSessionGuard constructor call --- diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 1b3f169ae..653a29248 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -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] ); });