use dedicated registration ID for auth flow (#2337)

This commit is contained in:
Kristoffer Dalby
2025-01-26 22:20:11 +01:00
committed by GitHub
parent 97e5d95399
commit 4c8e847f47
26 changed files with 586 additions and 586 deletions

View File

@@ -260,8 +260,8 @@ func testCopyOfDatabase(src string) (string, error) {
return dst, err
}
func emptyCache() *zcache.Cache[string, types.Node] {
return zcache.New[string, types.Node](time.Minute, time.Hour)
func emptyCache() *zcache.Cache[types.RegistrationID, types.RegisterNode] {
return zcache.New[types.RegistrationID, types.RegisterNode](time.Minute, time.Hour)
}
// requireConstraintFailed checks if the error is a constraint failure with