Skip to content

Commit

Permalink
SHIBUI-2393/2492
Browse files Browse the repository at this point in the history
fixed when activating - set approved to true
  • Loading branch information
chasegawa committed Dec 6, 2022
1 parent 8b57840 commit 3915e86
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public HttpStatus enableDynamicRegistration(String resourceId) throws Persistent
HttpStatus status = shibRestTemplateDelegate.sendRequest(existingDri);
if (status == HttpStatus.CREATED || status == HttpStatus.OK) {
existingDri.setEnabled(true);
existingDri.setApproved(true);
repository.save(existingDri);
}
return status;
Expand Down

0 comments on commit 3915e86

Please sign in to comment.