FIX: Don't overwrite maxlength computed property

We can use a `text-field` instead.
This commit is contained in:
Robin Ward 2020-07-15 16:05:37 -04:00
parent 6fac4a36b4
commit 24b3996f45

View File

@ -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>