mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-17 10:47:23 +00:00
tfa: yubico otp: nudge users in WebAuthn direction
to avoid that they have a yubikey in their hands and think they need to use Yubico/YubiCloud otp for it to work.. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
82a386530e
commit
05da27edef
@ -268,9 +268,9 @@ Ext.define('Proxmox.panel.TfaView', {
|
|||||||
handler: 'addRecovery',
|
handler: 'addRecovery',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: gettext('Yubico'),
|
text: gettext('Yubico OTP'),
|
||||||
itemId: 'yubico',
|
itemId: 'yubico',
|
||||||
iconCls: 'fa fa-fw fa-yahoo',
|
iconCls: 'fa fa-fw fa-yahoo', // close enough
|
||||||
handler: 'addYubico',
|
handler: 'addYubico',
|
||||||
cbind: {
|
cbind: {
|
||||||
hidden: '{!yubicoEnabled}',
|
hidden: '{!yubicoEnabled}',
|
||||||
|
@ -7,7 +7,7 @@ Ext.define('Proxmox.window.AddYubico', {
|
|||||||
|
|
||||||
modal: true,
|
modal: true,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
title: gettext('Add a Yubico key'),
|
title: gettext('Add a Yubico OTP key'),
|
||||||
width: 512,
|
width: 512,
|
||||||
|
|
||||||
isAdd: true,
|
isAdd: true,
|
||||||
@ -120,6 +120,11 @@ Ext.define('Proxmox.window.AddYubico', {
|
|||||||
Ext.String.format(gettext("Confirm your ({0}) password"), Proxmox.UserName),
|
Ext.String.format(gettext("Confirm your ({0}) password"), Proxmox.UserName),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
xtype: 'box',
|
||||||
|
html: `<span class='pmx-hint'>${gettext('Tip:')}</span> `
|
||||||
|
+ gettext('YubiKeys also support WebAuthn, which is often a better alternative.'),
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user