]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: tfa selector code/spelling nit fix
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 26 Apr 2020 10:55:38 +0000 (12:55 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 26 Apr 2020 10:56:43 +0000 (12:56 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/form/TFASelector.js

index d5334f8af3aef70184cbf9267673886492b47503..f27892ebe0a95513c76c19143cf64872e5a0c2f2 100644 (file)
@@ -76,8 +76,12 @@ Ext.define('PVE.form.TFASelector', {
            value: '__default__',
            deleteEmpty: false,
            submitValue: false,
-           fieldLabel: gettext('TFA'),
-           comboItems: [['__default__', Proxmox.Utils.noneText], ['oath', 'OATH'], ['yubico', 'Yubico']],
+           fieldLabel: gettext('Require TFA'),
+           comboItems: [
+               ['__default__', Proxmox.Utils.noneText],
+               ['oath', 'OATH/TOTP'],
+               ['yubico', 'Yubico'],
+           ],
            bind: {
                value: "{type}",
            },
@@ -88,7 +92,7 @@ Ext.define('PVE.form.TFASelector', {
            minValue: 10,
            submitValue: false,
            emptyText: Proxmox.Utils.defaultText + ' (30)',
-           fieldLabel: 'OATH time step',
+           fieldLabel: gettext('Time Step'),
            bind: {
                value: "{step}",
                hidden: "{!isOath}",
@@ -99,7 +103,7 @@ Ext.define('PVE.form.TFASelector', {
            xtype: 'proxmoxintegerfield',
            hidden: true,
            submitValue: false,
-           fieldLabel: 'OATH password length',
+           fieldLabel: gettext('Secret Length'),
            minValue: 6,
            maxValue: 8,
            emptyText: Proxmox.Utils.defaultText + ' (6)',