Browse Source

Fix #10823 (#10851)

* Fix of #10823

* Typo fix

* Revert Gopkg.lock
Andrey Inishev 8 years ago
parent
commit
1b795c0ced
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/social/github_oauth.go

+ 1 - 1
pkg/social/github_oauth.go

@@ -210,7 +210,7 @@ func (s *SocialGithub) UserInfo(client *http.Client, token *oauth2.Token) (*Basi
 	if err != nil {
 		return nil, fmt.Errorf("Error getting user info: %s", err)
 	}
-
+	data.OrganizationsUrl = s.apiUrl + "/user/orgs"
 	userInfo := &BasicUserInfo{
 		Name:  data.Login,
 		Login: data.Login,