mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 19:53:53 -06:00
FIX: Don't overwrite maxlength
computed property
We can use a `text-field` instead.
This commit is contained in:
parent
6fac4a36b4
commit
24b3996f45
@ -40,7 +40,15 @@
|
||||
|
||||
<label class="control-label input-prepend">{{i18n "user.second_factor.label"}}</label>
|
||||
<div class="controls">
|
||||
{{second-factor-input maxlength=6 value=secondFactorToken inputId="second-factor-token" placeholder="123456"}}
|
||||
{{text-field
|
||||
class="second-factor-token-input"
|
||||
maxlength=6
|
||||
value=secondFactorToken
|
||||
inputId="second-factor-token"
|
||||
placeholder="123456"
|
||||
autocorrect="off"
|
||||
autocapitalize="off"
|
||||
autofocus="autofocus"}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user