Skip to content

Commit

Permalink
changing lifecycleState to 'active' after account activation (MID-5456)
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Mar 26, 2020
1 parent d1f7802 commit 7455b48
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -275,7 +275,7 @@ private void propagatePassword(AjaxRequestTarget target,
ObjectDelta<ShadowType> shadowDelta = getPrismContext().deltaFactory().object()
.createModificationReplaceProperty(ShadowType.class, shadow.getOid(), SchemaConstants.PATH_PASSWORD_VALUE,
passwordValue);
shadowDelta.addModificationDeleteProperty(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 7455b48

Please sign in to comment.