Why in documentation does it say that the lifespan...
# talk-kratos
r
Why in documentation does it say that the lifespan of the code is a default of 1 hour but then when you check the config it is set to 15m ?
b
Which documentation are you referring to? And are you self-hosting or on Ory Network?
r
and on Ory Network
b
when you check the config it is set to 15m ?
Which config is this?
r
ory get identity-config 44829b55-3732-41d3-aeea-1d11cb522934 --format yaml > identity-config.yaml
selfservice: methods: code: config: lifespan: 15m0s enabled: true
b
Ah, the Ory Network default is 15m. I guess it should be 1h. But you can always set that value manually.
r
no worries, I just wanted to check. could you clarify another question for me.... does Ory have no account lock/disabling. e.g. user attempts to login with incorrect password 5 times the account will be locked ?
b
No, not out of the box, but you can build that yourself with login webhooks, afaik.
r
Great, thanks for answering my queries Jonas :)