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:
committed by
Thomas Lamprecht
parent
b57619ea29
commit
10052ea644
@ -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'),
|
||||
|
@ -29,9 +29,9 @@ Ext.define('PBS.form.RemoteSelector', {
|
||||
flex: 1,
|
||||
},
|
||||
{
|
||||
header: gettext('User name'),
|
||||
header: gettext('Auth ID'),
|
||||
sortable: true,
|
||||
dataIndex: 'userid',
|
||||
dataIndex: 'auth-id',
|
||||
renderer: Ext.String.htmlEncode,
|
||||
flex: 1,
|
||||
},
|
||||
|
@ -5,8 +5,6 @@ Ext.define('PBS.window.RemoteEdit', {
|
||||
|
||||
onlineHelp: 'backup_remote',
|
||||
|
||||
userid: undefined,
|
||||
|
||||
isAdd: true,
|
||||
|
||||
subject: gettext('Remote'),
|
||||
@ -93,8 +91,8 @@ Ext.define('PBS.window.RemoteEdit', {
|
||||
{
|
||||
xtype: 'proxmoxtextfield',
|
||||
allowBlank: false,
|
||||
name: 'userid',
|
||||
fieldLabel: gettext('Userid'),
|
||||
name: 'auth-id',
|
||||
fieldLabel: gettext('Auth ID'),
|
||||
},
|
||||
{
|
||||
xtype: 'textfield',
|
||||
|
Reference in New Issue
Block a user