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

Commit fc2d575

Browse files
author
Sachin Maheshwari
committed
adding redirectUrl for resend mail to
1 parent f08af37 commit fc2d575

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,12 +910,15 @@ public ApiResponse resendEmail(
910910
data.put("domain", getDomain());
911911
data.put("subDomain", "platform");
912912
data.put("path", "/onboard");
913+
data.put("redirectUrl", String.format("https%3A%2F%2Fplatform.%s.com%2Fonboard", getDomain()));
913914

914915
if (user.getRegSource() != null && user.getRegSource().matches("tcBusiness")) {
915916
data.put("subDomain", "connect");
916917
data.put("path", "/");
918+
data.put("redirectUrl", String.format("https%3A%2F%2Fconnect.%s.com%2/", getDomain()));
917919
}
918920

921+
919922
payload.put("data", data);
920923

921924
Map<String,Object> from = new LinkedHashMap<String,Object>();

0 commit comments

Comments
 (0)