gui: dc/TFAEdit: show an error message if tfa api call fails
setting the loadmask did not really work, so show a messagebox instead and close the window Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
bfdfea5074
commit
49b54908ff
@ -205,7 +205,8 @@ Ext.define('PVE.window.TFAEdit', {
|
||||
me.afterLoading(data.realm, data.user);
|
||||
},
|
||||
failure: function(response, opts) {
|
||||
Proxmox.Utils.setErrorMask(loadMaskContainer, response.htmlStatus);
|
||||
me.close();
|
||||
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user