diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2020-11-25 22:26:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 16:26:11 -0500 |
commit | 3f0ff53158cc07b481c701077357d9d09254845b (patch) | |
tree | bc1f6f4e6beff92b487e7c45585c4d0a4bfbae4c /synapse/_scripts | |
parent | Fix the formatting of push config section (#8818) (diff) | |
download | synapse-3f0ff53158cc07b481c701077357d9d09254845b.tar.xz |
Remove deprecated `/_matrix/client/*/admin` endpoints (#8785)
These are now only available via `/_synapse/admin/v1`.
Diffstat (limited to 'synapse/_scripts')
-rw-r--r-- | synapse/_scripts/register_new_matrix_user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/_scripts/register_new_matrix_user.py b/synapse/_scripts/register_new_matrix_user.py index da0996edbc..d37ccccd5b 100644 --- a/synapse/_scripts/register_new_matrix_user.py +++ b/synapse/_scripts/register_new_matrix_user.py @@ -37,7 +37,7 @@ def request_registration( exit=sys.exit, ): - url = "%s/_matrix/client/r0/admin/register" % (server_location,) + url = "%s/_synapse/admin/v1/register" % (server_location,) # Get the nonce r = requests.get(url, verify=False) |