Skip to content

Commit

Permalink
Fix default user status
Browse files Browse the repository at this point in the history
  • Loading branch information
martinalbert committed Sep 11, 2023
1 parent d2e91b1 commit 0fc2c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/connector/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func minimalUserResource(ctx context.Context, user *onelogin.UserUnderRole) (*v2
userTraitOptions := []rs.UserTraitOption{
rs.WithEmail(user.Email, true),
rs.WithUserProfile(profile),
rs.WithStatus(v2.UserTrait_Status_STATUS_UNSPECIFIED),
rs.WithStatus(v2.UserTrait_Status_STATUS_ENABLED),
}

resource, err := rs.NewUserResource(
Expand Down

0 comments on commit 0fc2c2b

Please sign in to comment.