Add todo about passkey naming

This commit is contained in:
Melody Becker 2024-11-04 07:54:29 +01:00
parent a653477e7f
commit fc0875e494

View file

@ -68,6 +68,10 @@ type Account struct {
// For local accounts being active means being allowed to login and perform interactions
// For remote users, if an account is not verified, any interactions it sends are discarded
Verified bool
// TODO: Turn this into a map to give passkeys names.
// Needed for supporting a decent passkey management interface.
// Or check if webauthn.Credential has sufficiently easy to identify data
// to use instead of a string mapping
PasskeyCredentials []webauthn.Credential `gorm:"serializer:json"` // Webauthn credentials data
// Has a RemoteAccountLinks included if remote user
RemoteLinks *RemoteAccountLinks