Skip to content

Commit 7c87589

Browse files
authored
fix: use correct indentation for yml example in session lifetime docs (#2064)
1 parent a363332 commit 7c87589

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/kratos/session-management/10_session-lifespan.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ For example, to set the session lifespan to 30 days, enter `720h`.
4646
4747
```yaml title="config.yml"
4848
session:
49-
cookie:
50-
domain: $PROJECT_SLUG.projects.oryapis.com
51-
name: ory_session_{name}
52-
path: /
53-
persistent: false
54-
same_site: Lax
55-
// highlight-start
56-
lifespan: 720h
57-
// highlight-end
49+
cookie:
50+
domain: $PROJECT_SLUG.projects.oryapis.com
51+
name: ory_session_{name}
52+
path: /
53+
persistent: false
54+
same_site: Lax
55+
// highlight-start
56+
lifespan: 720h
57+
// highlight-end
5858
```
5959
6060
3. Update the Ory Identities configuration using the file you worked with:

0 commit comments

Comments
 (0)