namespace BookStack\Users\Controllers;
-use BookStack\Access\SocialAuthService;
+use BookStack\Access\SocialDriverManager;
use BookStack\Http\Controller;
use BookStack\Permissions\PermissionApplicator;
use BookStack\Settings\UserNotificationPreferences;
/**
* Show the view for the "Access & Security" account options.
*/
- public function showAuth(SocialAuthService $socialAuthService)
+ public function showAuth(SocialDriverManager $socialDriverManager)
{
$mfaMethods = user()->mfaValues()->get()->groupBy('method');
'category' => 'auth',
'mfaMethods' => $mfaMethods,
'authMethod' => config('auth.method'),
- 'activeSocialDrivers' => $socialAuthService->getActiveDrivers(),
+ 'activeSocialDrivers' => $socialDriverManager->getActive(),
]);
}