add maxlength attribute for 2FA input fields
This commit is contained in:
parent
67b6539d98
commit
e8d82f48bc
|
@ -20,7 +20,7 @@
|
|||
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
{{second-factor-input value=secondFactorToken inputId='second-factor-token'}}
|
||||
{{second-factor-input maxlength=6 value=secondFactorToken inputId='second-factor-token'}}
|
||||
</div>
|
||||
|
||||
<div class='instructions controls'>
|
||||
|
@ -72,7 +72,7 @@
|
|||
<label class="control-label input-prepend">{{i18n 'user.second_factor.label'}}</label>
|
||||
|
||||
<div class="controls">
|
||||
{{second-factor-input value=secondFactorToken inputId='second-factor-token'}}
|
||||
{{second-factor-input maxlength=6 value=secondFactorToken inputId='second-factor-token'}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue