The realm selection during user creation is no longer stateful. Hence,
as desired, adding a new user does not affect the realm on the login
page.

Signed-off-by: Dominik Rusovac <[email protected]>
---
 www/window/UserEdit.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/window/UserEdit.js b/www/window/UserEdit.js
index a11507a7..9d9fc9c7 100644
--- a/www/window/UserEdit.js
+++ b/www/window/UserEdit.js
@@ -80,6 +80,7 @@ Ext.define('PBS.window.UserEdit', {
                 bind: {
                     value: '{realm}',
                 },
+                stateful: false, // realm is not saved between page reloads
                 cbind: {
                     hidden: '{!isCreate}',
                     disabled: '{!isCreate}',
-- 
2.47.3



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to