Add a reset command to set up a Testing app with data (like Demo)

This commit is contained in:
Bubka
2022-07-07 16:39:57 +02:00
parent b4240bf1af
commit cb2de26e93
13 changed files with 346 additions and 65 deletions

View File

@@ -38,6 +38,7 @@ class SinglePageController extends Controller
])->toJson(),
'lang' => App::currentLocale(),
'isDemoApp' => config("2fauth.config.isDemoApp") ? 'true' : 'false',
'isTestingApp' => config("2fauth.config.isTestingApp") ? 'true' : 'false',
'locales' => collect(config("2fauth.locales"))->toJson()
]);
}