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

Commit 7aafe19

Browse files
author
Sachin Maheshwari
committed
adding subdomain to identify the business user
1 parent 21cacf7 commit 7aafe19

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,11 @@ public ApiResponse resendEmail(
906906
data.put("handle", user.getHandle());
907907
data.put("code", user.getCredential().getActivationCode());
908908
data.put("domain", getDomain());
909+
data.put("subDomain", "www");
910+
911+
if (user.getRegSource() != null && user.getRegSource().matches("tcBusiness")) {
912+
data.put("subDomain", "connect");
913+
}
909914

910915
payload.put("data", data);
911916
payload.put("version", "v3");

0 commit comments

Comments
 (0)