mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Add ability to export data as otpauth URIs - Closes #386
This commit is contained in:
@ -31,6 +31,7 @@ class SinglePageController extends Controller
|
||||
$githubAuth = config('services.github.client_secret') ? true : false;
|
||||
$installDocUrl = config('2fauth.installDocUrl');
|
||||
$ssoDocUrl = config('2fauth.ssoDocUrl');
|
||||
$exportSchemaUrl = config('2fauth.exportSchemaUrl');
|
||||
|
||||
// if (Auth::user()->preferences)
|
||||
|
||||
@ -46,8 +47,9 @@ class SinglePageController extends Controller
|
||||
'subdirectory' => $subdir,
|
||||
])->toJson(),
|
||||
'urls' => collect([
|
||||
'installDocUrl' => $installDocUrl,
|
||||
'ssoDocUrl' => $ssoDocUrl,
|
||||
'installDocUrl' => $installDocUrl,
|
||||
'ssoDocUrl' => $ssoDocUrl,
|
||||
'exportSchemaUrl' => $exportSchemaUrl,
|
||||
]),
|
||||
'defaultPreferences' => $defaultPreferences,
|
||||
'subdirectory' => $subdir,
|
||||
|
Reference in New Issue
Block a user