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