From 013e0f9caeac4ff45a5653cb56ac66cfd5ab482a Mon Sep 17 00:00:00 2001 From: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Date: Fri, 15 Oct 2021 11:56:39 +0200 Subject: Update doc of the allowed characters for registration tokens (#11093) Co-authored-by: Brendan Abolivier --- docs/usage/administration/admin_api/registration_tokens.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/usage') diff --git a/docs/usage/administration/admin_api/registration_tokens.md b/docs/usage/administration/admin_api/registration_tokens.md index c48d060dcc..13d5eb75e9 100644 --- a/docs/usage/administration/admin_api/registration_tokens.md +++ b/docs/usage/administration/admin_api/registration_tokens.md @@ -149,7 +149,7 @@ POST /_synapse/admin/v1/registration_tokens/new The request body must be a JSON object and can contain the following fields: - `token`: The registration token. A string of no more than 64 characters that - consists only of characters matched by the regex `[A-Za-z0-9-_]`. + consists only of characters matched by the regex `[A-Za-z0-9._~-]`. Default: randomly generated. - `uses_allowed`: The integer number of times the token can be used to complete a registration before it becomes invalid. -- cgit 1.4.1