Skip to content

Commit

Permalink
Merge pull request #364 from danc1248/override-default-blog-id-for-us…
Browse files Browse the repository at this point in the history
…er-search

Multisite/network configurations use your current blog as the default…
  • Loading branch information
timnolte committed Feb 25, 2022
2 parents c0dda8f + 2aa9d3c commit dba533f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/openid-connect-generic-client-wrapper.php
Expand Up @@ -657,6 +657,8 @@ public function get_user_by_identity( $subject_identity ) {
'value' => $subject_identity,
),
),
// Override the default blog_id (get_current_blog_id) to find users on different sites of a multisite install.
'blog_id' => 0,
)
);

Expand Down

0 comments on commit dba533f

Please sign in to comment.