5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-08 21:18:07 +03:00

ui: user edit: don't send realm property

the api does not accept a realm property here, it is only needed to
construct a proper user id of the form `{username}@{realm}`. so
remove it before sending it to the api and getting an error in return.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
This commit is contained in:
Stefan Sterz 2024-03-06 12:45:56 +01:00 committed by Thomas Lamprecht
parent 7bc3ab5b7e
commit 5dc306fc98

View File

@ -199,6 +199,10 @@ Ext.define('PBS.window.UserEdit', {
delete values.password;
}
if (values.realm) {
delete values.realm;
}
return values;
},