From 0caf4c148244acce63277190a208d097de3a0362 Mon Sep 17 00:00:00 2001 From: Kang Ming Date: Tue, 6 Feb 2024 16:42:41 +0800 Subject: [PATCH] chore: resolve comment --- internal/api/provider/oidc.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/api/provider/oidc.go b/internal/api/provider/oidc.go index bea436acb..56949dc3f 100644 --- a/internal/api/provider/oidc.go +++ b/internal/api/provider/oidc.go @@ -90,9 +90,8 @@ func parseGoogleIDToken(token *oidc.IDToken) (*oidc.IDToken, *UserProvidedData, if claims.Email != "" { data.Emails = append(data.Emails, Email{ - Email: claims.Email, - // Verified: claims.IsEmailVerified(), - Verified: false, + Email: claims.Email, + Verified: claims.IsEmailVerified(), Primary: true, }) }