diff --git a/src/cockpit/389-console/src/lib/database/globalPwp.jsx b/src/cockpit/389-console/src/lib/database/globalPwp.jsx index 0496a8262..868158467 100644 --- a/src/cockpit/389-console/src/lib/database/globalPwp.jsx +++ b/src/cockpit/389-console/src/lib/database/globalPwp.jsx @@ -689,7 +689,7 @@ export class GlobalPwPolicy extends React.Component { } handleLoadPasswordStorage(skipLoading = false) { - if (skipLoading) { + if (!skipLoading) { this.setState({ loading: true }); @@ -722,7 +722,7 @@ export class GlobalPwPolicy extends React.Component { '_nsslapd-pwdpbkdf2numiterations': '' }; - if (skipLoading) { + if (!skipLoading) { stateUpdates["loading"] = false } password_storage_attrs.forEach(attr => {