summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2019-11-12 11:39:08 -0600
committerGunnar Mills <gmills@us.ibm.com>2019-11-14 01:47:47 +0000
commitf5e9de032f44ffdd7613986eb8093867c6af5283 (patch)
tree5a7008f251d9b660da977b31996a4b6d800b6960 /app
parent818270c4abb2857ea05004ff759bb269c5a2e9cb (diff)
downloadphosphor-webui-f5e9de032f44ffdd7613986eb8093867c6af5283.tar.gz
phosphor-webui-f5e9de032f44ffdd7613986eb8093867c6af5283.zip
Send password when saving LDAP settings
- Add password to the createLdapEnableRequest Authentication object to be sent with the LDAP payload - Add a Password to scoped ldapProperties object Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I63a880548bc3d9d61c4b73719457ce19222aa354
Diffstat (limited to 'app')
-rw-r--r--app/access-control/controllers/ldap-controller.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/access-control/controllers/ldap-controller.js b/app/access-control/controllers/ldap-controller.js
index c812056..16992ec 100644
--- a/app/access-control/controllers/ldap-controller.js
+++ b/app/access-control/controllers/ldap-controller.js
@@ -56,6 +56,7 @@ window.angular && (function(angular) {
'ServiceAddresses': serviceAddresses,
'useSSL': useSSL,
'Username': userName,
+ 'Password': null,
'BaseDistinguishedNames': baseDistinguishedNames,
'GroupsAttribute': groupsAttribute,
'UsernameAttribute': usernameAttribute,
@@ -322,6 +323,7 @@ window.angular && (function(angular) {
const ServiceEnabled = true;
const Authentication = {
Username: ldapProperties.Username,
+ Password: ldapProperties.Password,
AuthenticationType: ldapProperties.AuthenticationType
};
const LDAPService = {
OpenPOWER on IntegriCloud