mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-23 14:26:18 +08:00
Resolve #1251
This commit is contained in:
parent
6b0e6ec02a
commit
1d27c22085
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@
|
||||||
+ '<span class="fontastic">⏱</span>'
|
+ '<span class="fontastic">⏱</span>'
|
||||||
+ '<input name="totp_code" type="text" class="input-block-level"'
|
+ '<input name="totp_code" type="text" class="input-block-level"'
|
||||||
+ ' pattern="[0-9]*" inputmode="numeric"'
|
+ ' pattern="[0-9]*" inputmode="numeric"'
|
||||||
+ ' autocomplete="off" autocorrect="off" autocapitalize="none"'
|
+ ' autocomplete="one-time-code" autocorrect="off" autocapitalize="none"'
|
||||||
+ ' data-bind="textInput: totp, disable: submitRequest" data-i18n="[placeholder]'+placeholder
|
+ ' data-bind="textInput: totp, disable: submitRequest" data-i18n="[placeholder]'+placeholder
|
||||||
+ '" placeholder="'+rl.i18n(placeholder)+'">'
|
+ '" placeholder="'+rl.i18n(placeholder)+'">'
|
||||||
+ '</div>'));
|
+ '</div>'));
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<span class="fontastic">⏱</span>
|
<span class="fontastic">⏱</span>
|
||||||
<input name="TOTP" type="text" pattern="[0-9]*" inputmode="numeric" class="input-block-level"
|
<input name="TOTP" type="text" pattern="[0-9]*" inputmode="numeric" class="input-block-level"
|
||||||
autocomplete="off" autocorrect="off" autocapitalize="off"
|
autocomplete="one-time-code" autocorrect="off" autocapitalize="off"
|
||||||
data-bind="textInput: totp, disable: submitRequest"
|
data-bind="textInput: totp, disable: submitRequest"
|
||||||
data-i18n="[placeholder]LOGIN/LABEL_TOTP">
|
data-i18n="[placeholder]LOGIN/LABEL_TOTP">
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue