Added google oauth account id

This commit is contained in:
Vinicyus Macedo 2018-11-17 00:48:54 -02:00
parent 634d71a657
commit 057f611194

View File

@ -32,6 +32,7 @@ func (s *SocialGoogle) IsSignupAllowed() bool {
func (s *SocialGoogle) UserInfo(client *http.Client, token *oauth2.Token) (*BasicUserInfo, error) {
var data struct {
Id int `json:"id"`
Name string `json:"name"`
Email string `json:"email"`
}