Restore Demo flags

This commit is contained in:
Bubka
2022-05-10 08:57:45 +02:00
parent 3923ada6a0
commit 5e0ea50e76
5 changed files with 6 additions and 3 deletions

View File

@ -33,6 +33,7 @@ class SinglePageController extends Controller
return view('landing')->with([
'appSettings' => $this->settingService->all()->toJson(),
'lang' => App::currentLocale(),
'isDemoApp' => config("2fauth.config.isDemoApp") ? 'true' : 'false',
'locales' => collect(config("2fauth.locales"))->toJson(),
]);
}