mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-19 01:46:03 +02:00
Fix #82 - Add a proxy logout URL and skip auto lock when it is not set
This commit is contained in:
@@ -32,9 +32,13 @@ class SinglePageController extends Controller
|
||||
{
|
||||
return view('landing')->with([
|
||||
'appSettings' => $this->settingService->all()->toJson(),
|
||||
'appConfig' => collect([
|
||||
'proxyAuth' => config("auth.defaults.guard") === 'reverse-proxy-guard' ? true : false,
|
||||
'proxyLogoutUrl' => config("2fauth.config.proxyLogoutUrl") ? config("2fauth.config.proxyLogoutUrl") : false,
|
||||
])->toJson(),
|
||||
'lang' => App::currentLocale(),
|
||||
'isDemoApp' => config("2fauth.config.isDemoApp") ? 'true' : 'false',
|
||||
'locales' => collect(config("2fauth.locales"))->toJson(),
|
||||
'locales' => collect(config("2fauth.locales"))->toJson()
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user