ui: webauthn config: set default values for unconfigured case

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-01-15 16:25:47 +01:00
parent a6a903293b
commit a9ffa010c8
1 changed files with 3 additions and 0 deletions

View File

@ -10,14 +10,17 @@ Ext.define('PBS.WebauthnConfigView', {
rp: { rp: {
header: gettext('Relying Party'), header: gettext('Relying Party'),
required: true, required: true,
defaultValue: gettext('Not configured'),
}, },
origin: { origin: {
header: gettext('Origin'), header: gettext('Origin'),
required: true, required: true,
defaultValue: gettext('Not configured'),
}, },
id: { id: {
header: 'ID', header: 'ID',
required: true, required: true,
defaultValue: gettext('Not configured'),
}, },
}, },