Set autofocus on WebAuthn authenticate button in keycloak.v2 login theme. (#43803)

Closes #43802

Signed-off-by: Patrick Weiner <patrick.weiner@prime-sign.com>
This commit is contained in:
Patrick Weiner 2025-10-30 11:02:00 +01:00 committed by GitHub
parent 4c64b7189c
commit b4e5c01929
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,7 +100,7 @@
</#if>
<@buttons.actionGroup>
<@buttons.button id="authenticateWebAuthnButton" label="webauthn-doAuthenticate" class=["kcButtonPrimaryClass","kcButtonBlockClass"]/>
<@buttons.button id="authenticateWebAuthnButton" label="webauthn-doAuthenticate" class=["kcButtonPrimaryClass","kcButtonBlockClass"] autofocus="autofocus"/>
</@buttons.actionGroup>
</div>
<script type="module">