fix: provider error

This commit is contained in:
peaklabs-dev
2024-12-11 17:09:21 +01:00
parent c2748de6a4
commit 97b6257872

View File

@@ -9,6 +9,9 @@ use App\Listeners\ProxyStartedNotification;
use Illuminate\Foundation\Events\MaintenanceModeDisabled; use Illuminate\Foundation\Events\MaintenanceModeDisabled;
use Illuminate\Foundation\Events\MaintenanceModeEnabled; use Illuminate\Foundation\Events\MaintenanceModeEnabled;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use SocialiteProviders\Authentik\AuthentikExtendSocialite;
use SocialiteProviders\Azure\AzureExtendSocialite;
use SocialiteProviders\Manager\SocialiteWasCalled;
class EventServiceProvider extends ServiceProvider class EventServiceProvider extends ServiceProvider
{ {
@@ -19,9 +22,9 @@ class EventServiceProvider extends ServiceProvider
MaintenanceModeDisabled::class => [ MaintenanceModeDisabled::class => [
MaintenanceModeDisabledNotification::class, MaintenanceModeDisabledNotification::class,
], ],
\SocialiteProviders\Manager\SocialiteWasCalled::class => [ SocialiteWasCalled::class => [
\SocialiteProviders\Azure\AzureExtendSocialite::class.'@handle', AzureExtendSocialite::class.'@handle',
\SocialiteProviders\Authentik\AuthentikExtendSocialite::class.'@handle', AuthentikExtendSocialite::class.'@handle',
], ],
ProxyStarted::class => [ ProxyStarted::class => [
ProxyStartedNotification::class, ProxyStartedNotification::class,