Skip to content
Snippets Groups Projects
Commit 99370b58 authored by Chien Huey's avatar Chien Huey
Browse files

Updated comment to include reference to GitHub Enterprise not supporting verified emails

parent 98f6a217
Branches
Tags
No related merge requests found
...@@ -503,7 +503,16 @@ func (c *githubConnector) userEmail(ctx context.Context, client *http.Client) (s ...@@ -503,7 +503,16 @@ func (c *githubConnector) userEmail(ctx context.Context, client *http.Client) (s
} }
for _, email := range emails { for _, email := range emails {
// if GitHub Enterprise, set email.Verified to true /*
if GitHub Enterprise, set email.Verified to true
This change being made because GitHub Enterprise does not
support email verification. CircleCI indicated that GitHub
advised them not to check for verified emails
(https://circleci.com/enterprise/changelog/#1-47-1).
In addition, GitHub Enterprise support replied to a support
ticket with "There is no way to verify an email address in
GitHub Enterprise."
*/
if c.hostName != "" { if c.hostName != "" {
email.Verified = true email.Verified = true
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment