Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Commit 6cf23e9

Browse files
author
sachin-maheshwari
authored
Merge pull request #45 from appirio-tech/dev
Shapeup3 - "inactive" logic change
2 parents 54e5ebd + 804f2f6 commit 6cf23e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/appirio/tech/core/service/identity/resource/UserResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ public ApiResponse resendEmail(
894894
}
895895

896896
// return 400 if user has been activated
897-
if(user.isActive())
897+
if(user.getStatus()!=null && !user.getStatus().equals("U"))
898898
throw new APIRuntimeException(SC_BAD_REQUEST, MSG_TEMPLATE_USER_ALREADY_ACTIVATED);
899899

900900
EventMessage msg = EventMessage.getDefault();

0 commit comments

Comments
 (0)