Skip to content

Commit

Permalink
Update globalPwp.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
droideck committed Dec 18, 2024
1 parent d8c94c2 commit 54aaa61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cockpit/389-console/src/lib/database/globalPwp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 54aaa61

Please sign in to comment.