summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Bläul2019-08-17 11:56:31 +0200
committerChristian Bläul2019-08-17 11:56:31 +0200
commitef857a565ca91fbd042ea14ebeddb843952095a4 (patch)
tree108abf0d649411076faf7aa4bdc988bbd13aab45
parent32f00e9830ef9497dff9659ca0485953e5466284 (diff)
Documentation: improved sessionLife description
Signed-off-by: Christian Bläul <christian@blaeul.de>
-rw-r--r--docs/configuration-config-file.md2
-rw-r--r--docs/configuration-env-vars.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration-config-file.md b/docs/configuration-config-file.md
index 64d37aff..3dfb2335 100644
--- a/docs/configuration-config-file.md
+++ b/docs/configuration-config-file.md
@@ -93,7 +93,7 @@ these are rarely used for various reasons.
| `allowFreeURL` | `true` or `false` | Set to allow new note creation by accessing a nonexistent note URL. This is the behavior familiar from [Etherpad](https://github.com/ether/etherpad-lite). |
| `defaultPermission` | `freely`, `editable`, `limited`, `locked`, `protected` or `private` | Set notes default permission (only applied on signed users). |
| `sessionName` | `connect.sid` | Cookie session name. |
-| `sessionLife` | `14 * 24 * 60 * 60 * 1000` | Cookie session life time in milliseconds. |
+| `sessionLife` | `14 * 24 * 60 * 60 * 1000` (14 days) | Cookie session life time in milliseconds. |
| `sessionSecret` | `secret` | Cookie session secret. If none is set, one will randomly generated on each startup, meaning all your users will be logged out. |
diff --git a/docs/configuration-env-vars.md b/docs/configuration-env-vars.md
index f4c3bd4e..d3df962a 100644
--- a/docs/configuration-env-vars.md
+++ b/docs/configuration-env-vars.md
@@ -80,7 +80,7 @@ defaultNotePath can't be set from env-vars
| `CMD_ALLOW_ANONYMOUS_EDITS` | `true` or `false` | if `allowAnonymous` is `true`, allow users to select `freely` permission, allowing guests to edit existing notes (default is `false`) |
| `CMD_ALLOW_FREEURL` | `true` or `false` | set to allow new note creation by accessing a nonexistent note URL |
| `CMD_DEFAULT_PERMISSION` | `freely`, `editable`, `limited`, `locked` or `private` | set notes default permission (only applied on signed users) |
-| `CMD_SESSION_LIFE` | `1209600000` | Session life time. (milliseconds) |
+| `CMD_SESSION_LIFE` | `1209600000` (14 days) | Cookie session life time in milliseconds. |
| `CMD_SESSION_SECRET` | no example | Secret used to sign the session cookie. If none is set, one will randomly generated on each startup, meaning all your users will be logged out. |