From fea5db398878acaabc07c844ddab14519b927308 Mon Sep 17 00:00:00 2001 From: Matthew Hartstonge Date: Fri, 25 Aug 2023 11:50:52 +1200 Subject: [PATCH] :bug: user: fixes mfa factors marshalling. --- user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.go b/user.go index dca92b2..d30da41 100644 --- a/user.go +++ b/user.go @@ -76,7 +76,7 @@ type User struct { ProfileURI string `bson:"profileUri" json:"profileUri,omitempty" xml:"profileUri,omitempty"` // MFAFactors contains the MFA Factor ID to the type of factor the user is signed up to. - MFAFactors map[string]MultiFactorType `bson:"multiFactorType" json:"multiFactorType,omitempty" xml:"multiFactorType,omitempty"` + MFAFactors map[string]MultiFactorType `bson:"mfaFactors" json:"mfaFactors,omitempty" xml:"mfaFactors,omitempty"` } // MultiFactorType specifies the types of authentication a user can enrol in;