mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Add OpenIdService to OpenIdSessionGuard constructor call
This commit is contained in:
@@ -9,6 +9,7 @@ use BookStack\Auth\Access\Guards\LdapSessionGuard;
|
|||||||
use BookStack\Auth\Access\Guards\Saml2SessionGuard;
|
use BookStack\Auth\Access\Guards\Saml2SessionGuard;
|
||||||
use BookStack\Auth\Access\Guards\OpenIdSessionGuard;
|
use BookStack\Auth\Access\Guards\OpenIdSessionGuard;
|
||||||
use BookStack\Auth\Access\LdapService;
|
use BookStack\Auth\Access\LdapService;
|
||||||
|
use BookStack\Auth\Access\OpenIdService;
|
||||||
use BookStack\Auth\Access\RegistrationService;
|
use BookStack\Auth\Access\RegistrationService;
|
||||||
use BookStack\Auth\UserRepo;
|
use BookStack\Auth\UserRepo;
|
||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
@@ -53,6 +54,7 @@ class AuthServiceProvider extends ServiceProvider
|
|||||||
$name,
|
$name,
|
||||||
$provider,
|
$provider,
|
||||||
$this->app['session.store'],
|
$this->app['session.store'],
|
||||||
|
$app[OpenIdService::class],
|
||||||
$app[RegistrationService::class]
|
$app[RegistrationService::class]
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user