Fix incorrect ids for 2FA inputs.
This commit is contained in:
parent
8c51ac448a
commit
24f3b78548
|
@ -2,7 +2,7 @@
|
|||
type="tel"
|
||||
pattern='[0-9]{6}'
|
||||
maxlength='6'
|
||||
id="login-second-factor"
|
||||
id=inputId
|
||||
autocorrect="off"
|
||||
autocapitalize="off"
|
||||
autofocus="autofocus"}}
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</table>
|
||||
</div>
|
||||
{{#second-factor-form}}
|
||||
{{second-factor-input value=loginSecondFactor}}
|
||||
{{second-factor-input value=loginSecondFactor inputId='login-second-factor'}}
|
||||
{{/second-factor-form}}
|
||||
</form>
|
||||
{{/if}}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
</table>
|
||||
</div>
|
||||
{{#second-factor-form}}
|
||||
{{second-factor-input value=loginSecondFactor}}
|
||||
{{second-factor-input value=loginSecondFactor inputId='login-second-factor'}}
|
||||
{{/second-factor-form}}
|
||||
</form>
|
||||
{{/if}}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
{{second-factor-input value=secondFactorToken}}
|
||||
{{second-factor-input value=secondFactorToken inputId='second-factor-token'}}
|
||||
</div>
|
||||
|
||||
<div class='instructions'>
|
||||
|
@ -65,7 +65,7 @@
|
|||
<label class="control-label input-prepend">{{i18n 'login.second_factor_label'}}</label>
|
||||
|
||||
<div class="controls">
|
||||
{{second-factor-input value=secondFactorToken}}
|
||||
{{second-factor-input value=secondFactorToken inputId='second-factor-token'}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue