2021-10-01 13:34:28 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
2022-03-28 17:09:29 +02:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
2022-09-21 21:50:41 +02:00
|
|
|
| Application infos
|
2022-03-28 17:09:29 +02:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2022-10-17 17:47:05 +02:00
|
|
|
'version' => '3.4.0',
|
2022-09-21 21:50:41 +02:00
|
|
|
'repository' => 'https://github.com/Bubka/2FAuth',
|
|
|
|
'latestReleaseUrl' => 'https://api.github.com/repos/Bubka/2FAuth/releases/latest',
|
|
|
|
|
2022-03-28 17:09:29 +02:00
|
|
|
|
2021-10-08 23:27:15 +02:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 2FAuth config
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2021-10-01 13:34:28 +02:00
|
|
|
'config' => [
|
|
|
|
'isDemoApp' => env('IS_DEMO_APP', false),
|
2022-07-07 16:39:57 +02:00
|
|
|
'isTestingApp' => env('IS_TESTING_APP', false),
|
2022-04-14 11:34:40 +02:00
|
|
|
'trustedProxies' => env('TRUSTED_PROXIES', null),
|
2022-05-16 22:55:50 +02:00
|
|
|
'proxyLogoutUrl' => env('PROXY_LOGOUT_URL', null),
|
2021-10-01 13:34:28 +02:00
|
|
|
],
|
|
|
|
|
2021-12-03 22:50:28 +01:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 2FAuth available translations
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'locales' => [
|
|
|
|
'en',
|
|
|
|
'fr',
|
2022-10-14 15:54:24 +02:00
|
|
|
'de',
|
|
|
|
'zh',
|
|
|
|
'es'
|
2021-12-03 22:50:28 +01:00
|
|
|
],
|
|
|
|
|
2021-10-08 23:27:15 +02:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Application fallback for user options
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'options' => [
|
|
|
|
'showTokenAsDot' => false,
|
|
|
|
'closeOtpOnCopy' => false,
|
2022-09-15 10:28:33 +02:00
|
|
|
'copyOtpOnDisplay' => false,
|
2021-10-08 23:27:15 +02:00
|
|
|
'useBasicQrcodeReader' => false,
|
|
|
|
'displayMode' => 'list',
|
|
|
|
'showAccountsIcons' => true,
|
|
|
|
'kickUserAfter' => '15',
|
|
|
|
'activeGroup' => 0,
|
|
|
|
'rememberActiveGroup' => true,
|
|
|
|
'defaultGroup' => 0,
|
|
|
|
'useEncryption' => false,
|
|
|
|
'defaultCaptureMode' => 'livescan',
|
|
|
|
'useDirectCapture' => false,
|
2022-03-15 14:47:07 +01:00
|
|
|
'useWebauthnAsDefault' => false,
|
|
|
|
'useWebauthnOnly' => false,
|
2022-07-21 19:07:53 +02:00
|
|
|
'getOfficialIcons' => true,
|
2022-09-21 21:50:41 +02:00
|
|
|
'checkForUpdate' => true,
|
|
|
|
'lastRadarScan' => 0,
|
2022-10-12 11:10:51 +02:00
|
|
|
'latestRelease' => false,
|
2021-10-08 23:27:15 +02:00
|
|
|
],
|
|
|
|
|
2021-10-01 13:34:28 +02:00
|
|
|
];
|