2FAuth/config/2fauth.php

73 lines
2.0 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Application infos
|--------------------------------------------------------------------------
|
*/
'version' => '3.3.3',
'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'
],
/*
|--------------------------------------------------------------------------
| 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,
],
];