Skip to content

Commit

Permalink
do not fetch unconfirmed accounts from authz API
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Oct 1, 2024
1 parent 5eb0faa commit 231c188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func (i *Identity) UserType() userpb.UserType {
}

func (m *manager) fetchAllUserAccounts(ctx context.Context) error {
url := fmt.Sprintf("%s/api/v1.0/Identity?field=upn&field=primaryAccountEmail&field=displayName&field=uid&field=gid&field=type&field=source&field=activeUser", m.conf.APIBaseURL)
url := fmt.Sprintf("%s/api/v1.0/Identity?filter=unconfirmed%3Afalse&field=upn&field=primaryAccountEmail&field=displayName&field=uid&field=gid&field=type&field=source&field=activeUser", m.conf.APIBaseURL)

for {
var r IdentitiesResponse
Expand Down

0 comments on commit 231c188

Please sign in to comment.