mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-08 21:44:32 +02:00
Merge branch 'feature/openid-support' of https://github.com/indykoning/2FAuth into indykoning-feature/openid-support
This commit is contained in:
@ -27,6 +27,7 @@ class SinglePageController extends Controller
|
||||
$isTestingApp = config('2fauth.config.isTestingApp') ? 'true' : 'false';
|
||||
$lang = App::getLocale();
|
||||
$locales = collect(config('2fauth.locales'))->toJson(); /** @phpstan-ignore-line */
|
||||
$openidAuth = config('services.openid.client_secret') ? true : false;
|
||||
|
||||
// if (Auth::user()->preferences)
|
||||
|
||||
@ -35,6 +36,7 @@ class SinglePageController extends Controller
|
||||
'appConfig' => collect([
|
||||
'proxyAuth' => $proxyAuth,
|
||||
'proxyLogoutUrl' => $proxyLogoutUrl,
|
||||
'openidAuth' => $openidAuth,
|
||||
'subdirectory' => $subdir,
|
||||
])->toJson(),
|
||||
'defaultPreferences' => $defaultPreferences,
|
||||
|
Reference in New Issue
Block a user