mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-21 11:59:20 +02:00
Small panel bugfixes
This commit is contained in:
parent
a30f71e10a
commit
9cf54beb24
3 changed files with 13 additions and 6 deletions
|
@ -32,9 +32,10 @@ class AuthController extends Controller
|
|||
* @throws \DI\NotFoundException
|
||||
*/
|
||||
public function createLogin(Request $request, Response $response){
|
||||
return view($response,'auth/login.twig');
|
||||
$isWebAuthnEnabled = envi('WEB_AUTHN_ENABLED') === 'true';
|
||||
return view($response, 'auth/login.twig', ['isWebaEnabled' => $isWebaEnabled]);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Show 2FA verification form.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue