修复密码重置遗漏撤销客户端授权码并补充事务隔离回归

This commit is contained in:
xuans committed 2026-09-20 02:29:08 +08:00
1 parent 9c401515af
commit b01fe7cc82
8 files changed
+110 -8

No files matched your search

@@ -38,7 +38,7 @@ func newPublicSecurityFixture(t *testing.T) (*recovery.Service, *webauthnservice
&models.Sessions{},
&models.SecurityQuestion{},
&models.RecoveryCode{},
&models.WebAuthnCredential{}, &models.ProtocolCredential{},
&models.WebAuthnCredential{}, &models.ProtocolCredential{}, &models.ClientCredential{},
} {
if err := engine.Sync2(table); err != nil {
t.Fatal(err)