修复密码重置遗漏撤销客户端授权码并补充事务隔离回归
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-09-20 02:29:08 +08:00
1 parent 4e47dbff6c
commit 7aec99de89
8 files changed
+110 -8

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ func newRecoveryFixture(t *testing.T) (*Service, *verification.Service, *xorm.En
t.Fatal(err)
}
t.Cleanup(func() { _ = engine.Close() })
for _, table := range []any{&models.User{}, &models.ExternalEmail{}, &models.Sessions{}, &models.SecurityQuestion{}, &models.RecoveryCode{}, &models.WebAuthnCredential{}, &models.ProtocolCredential{}} {
for _, table := range []any{&models.User{}, &models.ExternalEmail{}, &models.Sessions{}, &models.SecurityQuestion{}, &models.RecoveryCode{}, &models.WebAuthnCredential{}, &models.ProtocolCredential{}, &models.ClientCredential{}} {
if err := engine.Sync2(table); err != nil {
t.Fatal(err)
}