rough-kilobyte-98919
09/05/2025, 8:54 AMchilly-king-10285
09/05/2025, 8:54 AMchilly-king-10285
09/05/2025, 8:54 AMyaml selfservice: methods: code: enabled: true config: lifespan: 5m
This lifespan controls how long one-time codes (including SMS) are valid before expiring. Apply the change via Ory Console or CLI as shown in the verification/recovery flow docs (both reference the same code method lifespan setting) ([Address verification](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#configuration), [Account recovery](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#configuration)).rough-kilobyte-98919
09/05/2025, 9:08 AMThe request was submitted too often. Please request another code.
, what does it meanschilly-king-10285
09/05/2025, 9:08 AMchilly-king-10285
09/05/2025, 9:09 AMrough-kilobyte-98919
09/05/2025, 9:09 AMchilly-king-10285
09/05/2025, 9:09 AMchilly-king-10285
09/05/2025, 9:10 AMyaml selfservice: methods: code: max_submissions: 3
Apply via your Kratos config reload/redeploy ([Code submissions limit](https://www.ory.sh/docs/identities/sign-in/code-submission-limit)). What you need to add externally: - Implement rate limiting/throttling and optional account lockouts at your edge/WAF or proxy if you need “too many requests” controls for requesting codes (Threat models and security profiles). ([Threat models and security profiles](https://www.ory.sh/docs/kratos/concepts/security))