Skip to content
Snippets Groups Projects
Unverified Commit 73cb30bf authored by Benjamin Bouvier's avatar Benjamin Bouvier Committed by GitHub
Browse files

Fix typo in README.md


Signed-off-by: default avatarBenjamin Bouvier <public@benj.me>
parent 65e92820
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ registration_requires_token: true ...@@ -75,7 +75,7 @@ registration_requires_token: true
``` ```
You will also need to manually create a registration token with the [create token API](https://matrix-org.github.io/synapse/latest/usage/administration/admin_api/registration_tokens.html#create-token). You will also need to manually create a registration token with the [create token API](https://matrix-org.github.io/synapse/latest/usage/administration/admin_api/registration_tokens.html#create-token).
You must use the access token of an administatator for this. See [the Synapse documentation](https://matrix-org.github.io/synapse/latest/usage/administration/admin_api/index.html) for help. You must use the access token of an administrator for this. See [the Synapse documentation](https://matrix-org.github.io/synapse/latest/usage/administration/admin_api/index.html) for help.
```sh ```sh
$ curl --data '{ "uses_allowed": 50 }' -H 'Authorization: Bearer YOUR_ADMIN_TOKEN' 'https://your-homeserver/_synapse/admin/v1/registration_tokens/new' $ curl --data '{ "uses_allowed": 50 }' -H 'Authorization: Bearer YOUR_ADMIN_TOKEN' 'https://your-homeserver/_synapse/admin/v1/registration_tokens/new'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment