mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Add a Light theme and a theme detection/selection feature
This commit is contained in:
@ -20,6 +20,7 @@ class SinglePageController extends Controller
|
||||
$subdir = config('2fauth.config.appSubdirectory') ? '/' . config('2fauth.config.appSubdirectory') : '';
|
||||
|
||||
return view('landing')->with([
|
||||
'theme' => Settings::get('theme'),
|
||||
'appSettings' => Settings::all()->toJson(),
|
||||
'appConfig' => collect([
|
||||
'proxyAuth' => config('auth.defaults.guard') === 'reverse-proxy-guard' ? true : false,
|
||||
|
Reference in New Issue
Block a user