From 147860711af0979ae8036e784b708be4337b1f62 Mon Sep 17 00:00:00 2001 From: joel Date: Wed, 13 Nov 2024 13:29:14 +0800 Subject: [PATCH] fix: run gofmt --- internal/api/token.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/internal/api/token.go b/internal/api/token.go index 8194f3ad6..56a177fe6 100644 --- a/internal/api/token.go +++ b/internal/api/token.go @@ -333,13 +333,13 @@ func (a *API) generateAccessToken(r *http.Request, tx *storage.Connection, user ExpiresAt: jwt.NewNumericDate(expiresAt), Issuer: config.JWT.Issuer, }, - Email: user.GetEmail(), - Phone: user.GetPhone(), - AppMetaData: user.AppMetaData, - UserMetaData: user.UserMetaData, - Role: user.Role, - SessionId: sid, - AuthenticatorAssuranceLevel: aal.String(), + Email: user.GetEmail(), + Phone: user.GetPhone(), + AppMetaData: user.AppMetaData, + UserMetaData: user.UserMetaData, + Role: user.Role, + SessionId: sid, + AuthenticatorAssuranceLevel: aal.String(), // MFA is enabled if a developer has one at least one verified factor HasVerifiedFactor: user.HasMFAEnabled(), AuthenticationMethodReference: amr,