Intended to be used by Proxmox VE to clarify that password changes for
the PAM realm only apply to the local node.

Signed-off-by: Fiona Ebner <f.eb...@proxmox.com>
---
 src/window/PasswordEdit.js | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/window/PasswordEdit.js b/src/window/PasswordEdit.js
index e012a0d..e687de3 100644
--- a/src/window/PasswordEdit.js
+++ b/src/window/PasswordEdit.js
@@ -19,6 +19,8 @@ Ext.define('Proxmox.window.PasswordEdit', {
     // allow products to opt-in as their API gains support for this.
     confirmCurrentPassword: false,
 
+    hintHtml: undefined,
+
     items: [
        {
            xtype: 'textfield',
@@ -57,6 +59,17 @@ Ext.define('Proxmox.window.PasswordEdit', {
            initialPassField: 'password',
            submitValue: false,
        },
+       {
+           xtype: 'component',
+           userCls: 'pmx-hint',
+           name: 'password-hint',
+           hidden: true,
+           //padding: '5 1',
+           cbind: {
+               html: '{hintHtml}',
+               hidden: '{!hintHtml}',
+           },
+       },
        {
            xtype: 'hiddenfield',
            name: 'userid',
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to