Add todo about passkey naming
This commit is contained in:
parent
a653477e7f
commit
fc0875e494
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue