* [pve-devel] [PATCH v2 manager] user: password edit: clarify that password changes for PAM realm only apply to connected node
@ 2025-04-07 8:16 Fiona Ebner
2025-04-07 8:41 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Fiona Ebner @ 2025-04-07 8:16 UTC (permalink / raw)
To: pve-devel
Reported in the community forum:
https://forum.proxmox.com/threads/158518/
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
Changes in v2:
* Drop already applied patches.
* Improve language in the message.
* Use short-form assignment for object property.
www/manager6/dc/UserView.js | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/www/manager6/dc/UserView.js b/www/manager6/dc/UserView.js
index 82bd2ee7..f00015d9 100644
--- a/www/manager6/dc/UserView.js
+++ b/www/manager6/dc/UserView.js
@@ -68,10 +68,17 @@ Ext.define('PVE.dc.UserView', {
return false;
},
handler: function(btn, event, rec) {
+ let hintHtml;
+ if (rec.data['realm-type'] === 'pam') {
+ hintHtml =
+ gettext("For the PAM realm, this applies only to the connected node.");
+ }
+
Ext.create('Proxmox.window.PasswordEdit', {
userid: rec.data.userid,
confirmCurrentPassword: Proxmox.UserName !== 'root@pam',
autoShow: true,
+ hintHtml,
minLength: 8,
listeners: {
destroy: () => reload(),
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-07 8:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-07 8:16 [pve-devel] [PATCH v2 manager] user: password edit: clarify that password changes for PAM realm only apply to connected node Fiona Ebner
2025-04-07 8:41 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal