Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperlyt committed Aug 11, 2024
1 parent 78834c4 commit 546bf81
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<div class="col-xs-8" style="padding: 0 5px 0 0">
<input type="text" id="code" name="code"
aria-invalid="<#if messagesPerField.existsError('code','phoneNumber')>true</#if>"
class="${properties.kcInputClass!}" autocomplete="off"/>
class="${properties.kcInputClass!}" autocomplete="one-time-code"/>
</div>
<div class="col-xs-4" style="padding: 0 0 0 5px">
<input tabindex="0" style="height: 36px"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<label for="code" class="${properties.kcLabelClass!}">${msg("verificationCode")}</label>
<input tabindex="0" id="code" class="${properties.kcInputClass!}" name="code"
type="text" <#if phoneNumber??>autofocus</#if>
autocomplete="off"/>
autocomplete="one-time-code"/>
</div>
<div id="kc-form-buttons" class="${properties.kcFormGroupClass!}">
<input type="hidden" id="id-hidden-input" name="credentialId"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<label for="code" class="${properties.kcLabelClass!}">${msg("verificationCode")}</label>
<input tabindex="0" id="code" class="${properties.kcInputClass!}" name="code"
type="text" <#if phoneNumber??>autofocus</#if>
autocomplete="off"/>
autocomplete="one-time-code"/>
</div>
<div id="kc-form-buttons" class="${properties.kcFormGroupClass!}">
<input type="hidden" id="id-hidden-input" name="credentialId"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
<div class="col-xs-8" style="padding: 0 5px 0 0">
<input tabindex="0" type="text" id="code" name="code"
aria-invalid="<#if messagesPerField.existsError('code','phoneNumber')>true</#if>"
class="${properties.kcInputClass!}" autocomplete="off"/>
class="${properties.kcInputClass!}" autocomplete="one-time-code"/>

</div>
<div class="col-xs-4" style="padding: 0 0 0 5px">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
<input tabindex="0" id="code" name="code"
aria-invalid="<#if messagesPerField.existsError('registerCode')>true</#if>"
type="text" class="${properties.kcInputClass!}"
autocomplete="off"/>
autocomplete="one-time-code"/>
<#if messagesPerField.existsError('registerCode')>
<span id="input-error-password" class="${properties.kcInputErrorMessageClass!}" aria-live="polite">
${kcSanitize(messagesPerField.get('registerCode'))?no_esc}
Expand Down

0 comments on commit 546bf81

Please sign in to comment.