fix: add missing passkey flags to make icloud passkeys work

This commit is contained in:
Elias Schneider
2024-08-13 23:19:36 +02:00
parent 5749d0532f
commit cc407e17d4
5 changed files with 13 additions and 0 deletions

View File

@@ -98,6 +98,8 @@ func verifyRegistrationHandler(c *gin.Context) {
PublicKey: credential.PublicKey,
Transport: credential.Transport,
UserID: user.ID,
BackupEligible: credential.Flags.BackupEligible,
BackupState: credential.Flags.BackupState,
}
if err := common.DB.Create(&credentialToStore).Error; err != nil {
utils.UnknownHandlerError(c, err)