diff --git a/openspec/changes/add-qr-self-registration/design.md b/openspec/changes/add-qr-self-registration/design.md index d629e0b..c0f3261 100644 --- a/openspec/changes/add-qr-self-registration/design.md +++ b/openspec/changes/add-qr-self-registration/design.md @@ -46,7 +46,7 @@ All bodies are JSON. `companyId` is always a concrete company, set by mobile-api Public (`@AppAuth(skipValidate = true)`, controller `PublicRegistrationController` under `controller..`, path `/api/public/registration/{token}`): - **`GET`:** - - Page-load limit: Redis key `reg:load:`, at most 120 per 10 minutes, else 429 `TOO_MANY`. + - Page-load limit: Redis key `reg:load:`, at most 120 per 10 minutes, else 429 `TOO_MANY`. The POST counts against it too, before the code is checked, so guessing codes by POST is slowed as well. - A code works when all of these hold, otherwise 404 `CODE_INACTIVE` with message "This code is no longer active.": - the link exists and is enabled; - its event exists, is enabled and has `dateEnd`'s date (Malaysia) ≥ today;