mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-06 04:26:57 +00:00
- Fix User Signup - p2
This commit is contained in:
parent
b4cba8a850
commit
d9ae6f6db9
@ -578,12 +578,15 @@ public class UserResource extends EntityResource<User, UserRepository> {
|
||||
}
|
||||
}
|
||||
|
||||
// Send Invite mail to user
|
||||
sendInviteMailToUserForBasicAuth(uriInfo, user, create);
|
||||
if (createdUserRes != null) {
|
||||
// Send Invite mail to user
|
||||
sendInviteMailToUserForBasicAuth(uriInfo, user, create);
|
||||
|
||||
// Update response to remove auth fields
|
||||
decryptOrNullify(securityContext, (User) createdUserRes.getEntity());
|
||||
return createdUserRes;
|
||||
// Update response to remove auth fields
|
||||
decryptOrNullify(securityContext, (User) createdUserRes.getEntity());
|
||||
return createdUserRes;
|
||||
}
|
||||
return Response.status(BAD_REQUEST).entity("User Cannot be created Successfully.").build();
|
||||
}
|
||||
|
||||
private void validateAndAddUserAuthForBasic(User user, CreateUser create) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user