Files
zitadel/internal
Tim MöhlmannandGitHub 64ee480f84 Merge commit from fork
When an expired invite code was used for webauthn (passkeys), the change date got updated by the failed event. This change date was used to test for expiry, meaning failed events would reset the expiry timeout.

This fix adds a Code Creation Date to the writemodel which gets set by the first event. This can be the added or requested event.

Other changes:

- Expiry renamed to CodeExpiry so it's consistent with similar write models using secret codes.
- humanVerifyPasswordlessInitCode takes an algorithm instead of the complete generator, so the method can be unit tested easier
- Added tests that reproduced the original issue
2026-03-11 08:25:21 +01:00
..
2026-02-25 06:33:28 +01:00
2026-03-11 08:21:42 +01:00
2026-02-16 10:25:19 +01:00
2026-03-11 08:25:21 +01:00
2026-02-25 06:33:28 +01:00
2026-02-25 06:33:28 +01:00
2025-04-02 16:53:06 +02:00
2026-02-25 06:33:28 +01:00
2024-01-02 14:26:31 +00:00
2025-06-27 17:25:44 +02:00
2026-03-11 08:12:46 +01:00
2026-02-04 11:51:43 +01:00