Skip to content

Commit

Permalink
Adjust HD validation default value (#83818)
Browse files Browse the repository at this point in the history
  • Loading branch information
linoman committed Mar 4, 2024
1 parent 111df1b commit 67c062a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/login/social/connectors/google_oauth.go
Expand Up @@ -96,7 +96,7 @@ func (s *SocialGoogle) Reload(ctx context.Context, settings ssoModels.SSOSetting
defer s.reloadMutex.Unlock()

s.updateInfo(social.GoogleProviderName, newInfo)
s.validateHD = MustBool(newInfo.Extra[validateHDKey], false)
s.validateHD = MustBool(newInfo.Extra[validateHDKey], true)

return nil
}
Expand Down

0 comments on commit 67c062a

Please sign in to comment.