Remove unused user fields (#141)

These aren't actually used anywhere and can result in a parse error
if the ID field isn't a string
This commit is contained in:
Thom Seddon
2020-06-29 21:01:59 +01:00
committed by GitHub
parent 529e28d83b
commit be2b4ba9f4
4 changed files with 2 additions and 19 deletions

View File

@ -28,10 +28,7 @@ type token struct {
// User is the authenticated user
type User struct {
ID string `json:"id"`
Email string `json:"email"`
Verified bool `json:"verified_email"`
Hd string `json:"hd"`
Email string `json:"email"`
}
// OAuthProvider is a provider using the oauth2 library