Hi I wanted to setup email validation and I missed...
# talk-kratos
c
Hi I wanted to setup email validation and I missed a step when I was doing it, after adding the necessary code to the
kratos.yml
Copy code
methods:
    code:
     enabled: true
     config:
        # Defines how long the verification or the recovery code is valid for (default 1h)
        lifespan: 15m

flows:
    verification:
      use: code
      enabled: true
      lifespan: 15m
      ui_url: <https://127.0.0.1:3000/verification>
      after:
        default_browser_return_url: <https://127.0.0.1:3000/>
b
The
use
key in the config was added with v0.11.0, so the error you’re seeing is expected. You can just remove the key, if you really want to stay on v0.10.1. That will use magic links instead of one time codes for verification & recovery though.