mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-04-28 12:39:16 +00:00
login view: don't show save username field in quarantineview
like we had before, this is a regression from the recent oidc changes. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
af75134834
commit
39c926d051
@ -14,6 +14,9 @@ Ext.define('PMG.LoginView', {
|
||||
return gettext("Login");
|
||||
}
|
||||
},
|
||||
showSaveUser: function(get) {
|
||||
return this.getView().targetview !== 'quarantineview' && !get('oidc');
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@ -392,7 +395,7 @@ Ext.define('PMG.LoginView', {
|
||||
labelWidth: 150,
|
||||
submitValue: false,
|
||||
bind: {
|
||||
visible: "{!oidc}",
|
||||
visible: "{showSaveUser}",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user