mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-26 00:50:12 +01:00
75 lines
2.0 KiB
PHP
75 lines
2.0 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Application infos
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
'version' => '3.4.0',
|
|
'repository' => 'https://github.com/Bubka/2FAuth',
|
|
'latestReleaseUrl' => 'https://api.github.com/repos/Bubka/2FAuth/releases/latest',
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 2FAuth config
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
'config' => [
|
|
'isDemoApp' => env('IS_DEMO_APP', false),
|
|
'isTestingApp' => env('IS_TESTING_APP', false),
|
|
'trustedProxies' => env('TRUSTED_PROXIES', null),
|
|
'proxyLogoutUrl' => env('PROXY_LOGOUT_URL', null),
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 2FAuth available translations
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
'locales' => [
|
|
'en',
|
|
'fr',
|
|
'de',
|
|
'zh',
|
|
'es'
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Application fallback for user options
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
'options' => [
|
|
'showTokenAsDot' => false,
|
|
'closeOtpOnCopy' => false,
|
|
'copyOtpOnDisplay' => false,
|
|
'useBasicQrcodeReader' => false,
|
|
'displayMode' => 'list',
|
|
'showAccountsIcons' => true,
|
|
'kickUserAfter' => '15',
|
|
'activeGroup' => 0,
|
|
'rememberActiveGroup' => true,
|
|
'defaultGroup' => 0,
|
|
'useEncryption' => false,
|
|
'defaultCaptureMode' => 'livescan',
|
|
'useDirectCapture' => false,
|
|
'useWebauthnAsDefault' => false,
|
|
'useWebauthnOnly' => false,
|
|
'getOfficialIcons' => true,
|
|
'checkForUpdate' => true,
|
|
'lastRadarScan' => 0,
|
|
'latestRelease' => false,
|
|
],
|
|
|
|
]; |