gui: tfa configuration
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
a670b99db1
commit
3fffcb5d77
@ -44,6 +44,27 @@ Ext.define('PBS.SystemConfiguration', {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: gettext('Authentication'),
|
||||
itemId: 'authentication',
|
||||
xtype: 'panel',
|
||||
layout: {
|
||||
type: 'vbox',
|
||||
align: 'stretch',
|
||||
multi: true,
|
||||
},
|
||||
defaults: {
|
||||
collapsible: true,
|
||||
animCollapse: false,
|
||||
margin: '10 10 0 10',
|
||||
},
|
||||
items: [
|
||||
{
|
||||
title: gettext('Webauthn'),
|
||||
xtype: 'pbsWebauthnConfigView',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
initComponent: function() {
|
||||
@ -55,6 +76,11 @@ Ext.define('PBS.SystemConfiguration', {
|
||||
Ext.Array.forEach(networktime.query(), function(item) {
|
||||
item.relayEvents(networktime, ['activate', 'deactivate', 'destroy']);
|
||||
});
|
||||
|
||||
let authentication = me.getComponent('authentication');
|
||||
Ext.Array.forEach(authentication.query(), function(item) {
|
||||
item.relayEvents(authentication, ['activate', 'deactivate', 'destroy']);
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user