Add support for global 2FA enforcement #349

This commit is contained in:
the-djmaze 2022-04-25 16:21:16 +02:00
parent 375f715b78
commit 8b3cfc7a67
15 changed files with 85 additions and 54 deletions

View file

@ -1,10 +1,10 @@
<header>
<a class="close" href="#" data-bind="click: close">×</a>
<h3 data-i18n="POPUPS_TWO_FACTOR_TEST/TITLE_TEST_CODE"></h3>
<h3 data-i18n="PLUGIN_2FA/TITLE_TEST_CODE"></h3>
</header>
<div class="modal-body form-horizontal">
<div class="control-group">
<label data-i18n="POPUPS_TWO_FACTOR_TEST/LABEL_CODE"></label>
<label data-i18n="PLUGIN_2FA/LABEL_CODE"></label>
<input type="text" class="uiInput inputName"
autofocus="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="textInput: code, onEnter: testCodeCommand" />