mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 12:22:40 +08:00
Add OpenIdService to OpenIdSessionGuard constructor call
This commit is contained in:
parent
13d0260cc9
commit
75b4a05200
|
@ -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]
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user