Add autocomplete="one-time-code" for OTP form in login (#32580)

Closes #32579

Signed-off-by: Moritz Kobel <moritz.kobel@qube.ag>
This commit is contained in:
Moritz Kobel 2024-09-02 16:25:45 +02:00 committed by GitHub
parent 943d5320f1
commit db26a9e267
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,7 @@
</div> </div>
<div class="${properties.kcInputWrapperClass!}"> <div class="${properties.kcInputWrapperClass!}">
<input id="otp" name="otp" autocomplete="off" type="text" class="${properties.kcInputClass!}" <input id="otp" name="otp" autocomplete="one-time-code" type="text" class="${properties.kcInputClass!}"
autofocus aria-invalid="<#if messagesPerField.existsError('totp')>true</#if>" autofocus aria-invalid="<#if messagesPerField.existsError('totp')>true</#if>"
dir="ltr" /> dir="ltr" />