mirror of
https://git.proxmox.com/git/pve-manager
synced 2026-02-01 16:11:24 +00:00
ui: tfa: set initial tab based on current tfa type
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
ac3daab801
commit
1b16f7138b
@ -174,6 +174,9 @@ Ext.define('PVE.window.TFAEdit', {
|
||||
me.down('#qrbox').setVisible(false);
|
||||
me.lookup('challenge').setVisible(false);
|
||||
this.updatePanelMask(me.down('#totp-panel'));
|
||||
if (me.tfa_type === 'u2f') {
|
||||
me.lookup('tfatabs').setActiveTab(me.lookup('u2f_panel'));
|
||||
}
|
||||
}
|
||||
|
||||
if (Proxmox.UserName === 'root@pam') {
|
||||
@ -313,6 +316,7 @@ Ext.define('PVE.window.TFAEdit', {
|
||||
{
|
||||
xtype: 'tabpanel',
|
||||
itemId: 'tfatabs',
|
||||
reference: 'tfatabs',
|
||||
border: false,
|
||||
items: [
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user