fix #3934 tape owner-selector to Authid

changed pmxUserSelector to pbsAuthidSelector, because it is currently
not possible to restore with a api token via gui.

Signed-off-by: Markus Frank <m.frank@proxmox.com>
This commit is contained in:
Markus Frank 2022-03-16 10:09:46 +01:00 committed by Thomas Lamprecht
parent e099bd0717
commit 80ab05e40c

View File

@ -398,10 +398,10 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', {
renderer: Ext.String.htmlEncode,
},
{
xtype: 'pmxUserSelector',
xtype: 'pbsAuthidSelector',
name: 'owner',
fieldLabel: gettext('Owner'),
emptyText: gettext('Current User'),
emptyText: gettext('Current Auth ID'),
value: null,
allowBlank: true,
skipEmptyText: true,