mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-14 00:27:03 +02:00
Quite a few fixes in the CP, logs now match the rest
This commit is contained in:
parent
d312db4f14
commit
09a3ae3cc4
5 changed files with 71 additions and 65 deletions
|
@ -32,8 +32,8 @@ class AuthController extends Controller
|
|||
* @throws \DI\NotFoundException
|
||||
*/
|
||||
public function createLogin(Request $request, Response $response){
|
||||
$isWebAuthnEnabled = envi('WEB_AUTHN_ENABLED') === 'true';
|
||||
return view($response, 'auth/login.twig', ['isWebaEnabled' => $isWebaEnabled]);
|
||||
$isWebAuthnEnabled = (envi('WEB_AUTHN_ENABLED') === 'true') ? true : false;
|
||||
return view($response, 'auth/login.twig', ['isWebaEnabled' => $isWebAuthnEnabled]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue