From 4a392db07fe6e7c54cb4fde784f1875bbad62b40 Mon Sep 17 00:00:00 2001 From: Lucian Buzzo Date: Thu, 13 Mar 2025 09:44:14 +0000 Subject: [PATCH] fix: use correct indentation for yml example in session lifetime docs --- .../session-management/10_session-lifespan.mdx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/kratos/session-management/10_session-lifespan.mdx b/docs/kratos/session-management/10_session-lifespan.mdx index a04351d25..4c64b76f8 100644 --- a/docs/kratos/session-management/10_session-lifespan.mdx +++ b/docs/kratos/session-management/10_session-lifespan.mdx @@ -46,15 +46,15 @@ For example, to set the session lifespan to 30 days, enter `720h`. ```yaml title="config.yml" session: - cookie: - domain: $PROJECT_SLUG.projects.oryapis.com - name: ory_session_{name} - path: / - persistent: false - same_site: Lax - // highlight-start - lifespan: 720h - // highlight-end + cookie: + domain: $PROJECT_SLUG.projects.oryapis.com + name: ory_session_{name} + path: / + persistent: false + same_site: Lax + // highlight-start + lifespan: 720h + // highlight-end ``` 3. Update the Ory Identities configuration using the file you worked with: