remote.cfg: rename userid to 'auth-id'

and fixup config file on upgrades accordingly

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2020-11-05 12:12:25 +01:00
committed by Thomas Lamprecht
parent b57619ea29
commit 10052ea644
7 changed files with 25 additions and 17 deletions

View File

@ -1,6 +1,6 @@
Ext.define('pmx-remotes', {
extend: 'Ext.data.Model',
fields: ['name', 'host', 'port', 'userid', 'fingerprint', 'comment',
fields: ['name', 'host', 'port', 'auth-id', 'fingerprint', 'comment',
{
name: 'server',
calculate: function(data) {
@ -129,11 +129,11 @@ Ext.define('PBS.config.RemoteView', {
dataIndex: 'server',
},
{
header: gettext('User name'),
header: gettext('Auth ID'),
width: 200,
sortable: true,
renderer: Ext.String.htmlEncode,
dataIndex: 'userid',
dataIndex: 'auth-id',
},
{
header: gettext('Fingerprint'),