Skip to content

Commit

Permalink
🐛 user: fixes mfa factors marshalling.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhartstonge committed Aug 24, 2023
1 parent f814c69 commit fea5db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fea5db3

Please sign in to comment.