avoid panic in case of invalid repons from google

This commit is contained in:
Sebastian Mancke
2017-08-17 10:14:31 +02:00
parent 51f4e57d01
commit 37d5a0be8f
+1 -1
View File
@@ -57,7 +57,7 @@ var providerGoogle = Provider{
}
if len(gu.Emails) == 0 {
return model.UserInfo{}, "", fmt.Errorf("invalid google response: no email address returned.", err)
return model.UserInfo{}, "", fmt.Errorf("invalid google response: no email address returned.")
}
return model.UserInfo{