Skip to content

Commit

Permalink
another fix for account activation
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Mar 29, 2018
1 parent d9f1a68 commit 71edec9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -272,7 +272,7 @@ private void propagatePassword(AjaxRequestTarget target,
Collection<ObjectDelta<ShadowType>> passwordDeltas = new ArrayList<>(shadowsToActivate.size());
for (ShadowType shadow : shadowsToActivate) {
ObjectDelta<ShadowType> shadowDelta = ObjectDelta.createModificationReplaceProperty(ShadowType.class, shadow.getOid(), SchemaConstants.PATH_PASSWORD_VALUE, getPrismContext(), passwordValue);
shadowDelta.addModificationReplaceProperty(ShadowType.F_LIFECYCLE_STATE, SchemaConstants.LIFECYCLE_PROPOSED);
shadowDelta.addModificationReplaceProperty(ShadowType.F_LIFECYCLE_STATE, SchemaConstants.LIFECYCLE_ACTIVE);
passwordDeltas.add(shadowDelta);
}

Expand Down

0 comments on commit 71edec9

Please sign in to comment.