Skip to content

Commit

Permalink
fix: run gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
J0 committed Nov 13, 2024
1 parent ea50a0d commit 1478607
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions internal/api/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1478607

Please sign in to comment.