Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

Commit 2ce8f89

Browse files
Update options.md
Adressing nextauthjs/next-auth#2709 (comment)
1 parent 28f5229 commit 2ce8f89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/configuration/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ session: {
120120

121121
#### Description
122122

123-
JSON Web Tokens can be used for session tokens if enabled with `session: { jwt: true }` option. JSON Web Tokens are enabled by default if you have not specified a database.
123+
JSON Web Tokens can be used for session tokens if enabled with `session: { session: "jwt" }` option. JSON Web Tokens are enabled by default if you have not specified a database.
124124

125125
By default JSON Web Tokens are encrypted (JWE). We recommend you keep this behavoiur, but you can override it by defining your own `encode` and `decode` methods.
126126

0 commit comments

Comments
 (0)