mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-10-04 21:06:53 +00:00
fix #1385: display no rbd user by default
when having an rbd storage with no user, we displayed 'admin' by default, this patch sets '' and will be overwritten from the backend if a value is set when creating a rbd storage, the textfield still has 'admin' in there by default Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
0fcced161f
commit
5222800148
@ -47,7 +47,7 @@ Ext.define('PVE.storage.RBDInputPanel', {
|
||||
{
|
||||
xtype: me.isCreate ? 'textfield' : 'displayfield',
|
||||
name: 'username',
|
||||
value: 'admin',
|
||||
value: me.isCreate ? 'admin': '',
|
||||
fieldLabel: gettext('User name'),
|
||||
allowBlank: true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user