summaryrefslogtreecommitdiff
path: root/docs/content
diff options
context:
space:
mode:
authorNicolas Dietrich2021-01-22 16:47:47 +0100
committerNicolas Dietrich2021-01-22 16:52:49 +0100
commit497569fee4a841b13ed1606ca54f269162d3fa62 (patch)
tree3ad268aa959c51630cbc61a2b2fa73095585193b /docs/content
parent3331c0947cb6d63ce7f2846c38d5a7b82960b2eb (diff)
Add config option which requires authentication in FreeURL mode
This mitigates unintended note creation by bots or humans through a simple GET call. See discussion in #754. Signed-off-by: Nicolas Dietrich <nidi@mailbox.org>
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/configuration.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/content/configuration.md b/docs/content/configuration.md
index f57d7178..ff459608 100644
--- a/docs/content/configuration.md
+++ b/docs/content/configuration.md
@@ -96,6 +96,7 @@ these are rarely used for various reasons.
| `allowAnonymous` | `CMD_ALLOW_ANONYMOUS` | **`true`** or `false` | Set to allow anonymous usage (default is `true`). |
| `allowAnonymousEdits` | `CMD_ALLOW_ANONYMOUS_EDITS` | **`false`** or `true` | If `allowAnonymous` is `false`: allow users to select `freely` permission, allowing guests to edit existing notes (default is `false`). |
| `allowFreeURL` | `CMD_ALLOW_FREEURL` | **`false`** or `true` | 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). |
+| `requireFreeURLAuthentication` | `CMD_REQUIRE_FREEURL_AUTH` | **`false`** or `true` | Set to require authentication for FreeURL mode style note creation. |
| `defaultPermission` | `CMD_DEFAULT_PERMISSION` | **`editable`**, `freely`, `limited`, `locked`, `protected` or `private` | Set notes default permission (only applied on signed-in users). |
| `sessionName` | | **`connect.sid`** | Cookie session name. |
| `sessionLife` | `CMD_SESSION_LIFE` | **`14 * 24 * 60 * 60 * 1000`**, `1209600000` (14 days) | Cookie session life time in milliseconds. |