diff --git a/src/cockpit/389-console/src/lib/database/globalPwp.jsx b/src/cockpit/389-console/src/lib/database/globalPwp.jsx index 79b20683e..6a3b4d6c8 100644 --- a/src/cockpit/389-console/src/lib/database/globalPwp.jsx +++ b/src/cockpit/389-console/src/lib/database/globalPwp.jsx @@ -178,7 +178,7 @@ export class GlobalPwPolicy extends React.Component { const cmd = [ 'dsconf', '-j', "ldapi://%2fvar%2frun%2fslapd-" + this.props.serverId + ".socket", - 'plugin', 'pwstorage-scheme', this.state.password_storage_scheme_val.toLowerCase(), 'set-num-iterations', this.state.pwdpbkdf2numiterations + 'plugin', 'pwstorage-scheme', this.state.passwordstoragescheme.toLowerCase(), 'set-num-iterations', this.state.pwdpbkdf2numiterations ]; log_cmd("handleSavePasswordStorage", "Saving password storage settings", cmd); @@ -666,7 +666,7 @@ export class GlobalPwPolicy extends React.Component { const cmd = [ 'dsconf', '-j', "ldapi://%2fvar%2frun%2fslapd-" + this.props.serverId + ".socket", - 'plugin', 'pwstorage-scheme', this.state.password_storage_scheme_val.toLowerCase(), 'get-num-iterations' + 'plugin', 'pwstorage-scheme', this.state.passwordstoragescheme.toLowerCase(), 'get-num-iterations' ]; log_cmd("handleLoadPasswordStorage", "Load password storage settings", cmd); cockpit