diff options
Diffstat (limited to 'models/auth/webauthn.go')
-rw-r--r-- | models/auth/webauthn.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/auth/webauthn.go b/models/auth/webauthn.go index e6c446af94..2dc3043780 100644 --- a/models/auth/webauthn.go +++ b/models/auth/webauthn.go @@ -43,7 +43,7 @@ type WebAuthnCredential struct { Name string LowerName string `xorm:"unique(s)"` UserID int64 `xorm:"INDEX unique(s)"` - CredentialID string `xorm:"INDEX"` + CredentialID string `xorm:"INDEX VARCHAR(410)"` PublicKey []byte AttestationType string AAGUID []byte |