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

Commit 5ee37b3

Browse files
committed
Merge branch 'dev' into dev-pg
2 parents 0f3ef84 + e3baa9a commit 5ee37b3

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
@@ -498,7 +498,7 @@ public ApiResponse createObject(
498498
}
499499

500500
// Add business user role if needed
501-
if (user.getRegSource().matches("tcBusiness")) {
501+
if (user.getRegSource() != null && user.getRegSource().matches("tcBusiness")) {
502502
assignRoleByName("Business User", user);
503503
}
504504

0 commit comments

Comments
 (0)