Browse Source

Issues/6317 empty google login (#6318)

* added Login property to google_oauth model

* fixed spacing

* fixed google_oauth syntax error, missing comma before newline

* set noexpandtab for commit
Eric Uldall 9 years ago
parent
commit
9468ddeed5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pkg/social/google_oauth.go

+ 1 - 0
pkg/social/google_oauth.go

@@ -46,5 +46,6 @@ func (s *SocialGoogle) UserInfo(client *http.Client) (*BasicUserInfo, error) {
 	return &BasicUserInfo{
 		Name:     data.Name,
 		Email:    data.Email,
+		Login:    data.Email,
 	}, nil
 }