From 5b7a3e6843dfdfa4fa91386ec27be9e9fa13b90d Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Tue, 3 Dec 2024 04:05:13 -0500 Subject: [PATCH] docs: fix security jwt config example (#4976) --- website/docs/config.md | 10 ++++------ website/versioned_docs/version-6.x/config.md | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/website/docs/config.md b/website/docs/config.md index 2596b74a4..2e3461ae3 100644 --- a/website/docs/config.md +++ b/website/docs/config.md @@ -120,17 +120,15 @@ By using the JWT signature is also possible to customize the [signature](https:/ ```yaml security: api: - legacy: true - migrateToSecureLegacySignature: true # will generate a new secret token if the length is 64 characters jwt: sign: expiresIn: 29d verify: someProp: [value] - web: - sign: - expiresIn: 1h # 1 hour by default - verify: + web: + sign: + expiresIn: 1h # 1 hour by default + verify: someProp: [value] ``` diff --git a/website/versioned_docs/version-6.x/config.md b/website/versioned_docs/version-6.x/config.md index 8a5a0c0be..ebd6fae5e 100644 --- a/website/versioned_docs/version-6.x/config.md +++ b/website/versioned_docs/version-6.x/config.md @@ -161,17 +161,15 @@ By using the JWT signature is also possible to customize the [signature](https:/ ```yaml security: api: - legacy: true - migrateToSecureLegacySignature: true # will generate a new secret token if the length is 64 characters jwt: sign: expiresIn: 29d verify: someProp: [value] - web: - sign: - expiresIn: 1h # 1 hour by default - verify: + web: + sign: + expiresIn: 1h # 1 hour by default + verify: someProp: [value] ```