Skip to content
Snippets Groups Projects
Commit 8ea1b41a authored by Aaron Raimist's avatar Aaron Raimist Committed by Richard van der Hoff
Browse files

Clarify what registration_shared_secret allows for (#2885) (#4844)


* Clarify what registration_shared_secret allows for (#2885)

Signed-off-by: default avatarAaron Raimist <aaron@raim.ist>

* Add changelog

Signed-off-by: default avatarAaron Raimist <aaron@raim.ist>
parent 290552fd
No related branches found
No related tags found
No related merge requests found
...@@ -402,8 +402,8 @@ This process uses a setting `registration_shared_secret` in ...@@ -402,8 +402,8 @@ This process uses a setting `registration_shared_secret` in
`homeserver.yaml`, which is shared between Synapse itself and the `homeserver.yaml`, which is shared between Synapse itself and the
`register_new_matrix_user` script. It doesn't matter what it is (a random `register_new_matrix_user` script. It doesn't matter what it is (a random
value is generated by `--generate-config`), but it should be kept secret, as value is generated by `--generate-config`), but it should be kept secret, as
anyone with knowledge of it can register users on your server even if anyone with knowledge of it can register users, including admin accounts,
`enable_registration` is `false`. on your server even if `enable_registration` is `false`.
## Setting up a TURN server ## Setting up a TURN server
......
Clarify what registration_shared_secret allows for.
...@@ -624,8 +624,8 @@ enable_registration: False ...@@ -624,8 +624,8 @@ enable_registration: False
# - medium: msisdn # - medium: msisdn
# pattern: '\+44' # pattern: '\+44'
# If set, allows registration by anyone who also has the shared # If set, allows registration of standard or admin accounts by anyone who
# secret, even if registration is otherwise disabled. # has the shared secret, even if registration is otherwise disabled.
# #
# registration_shared_secret: <PRIVATE STRING> # registration_shared_secret: <PRIVATE STRING>
......
...@@ -92,8 +92,8 @@ class RegistrationConfig(Config): ...@@ -92,8 +92,8 @@ class RegistrationConfig(Config):
# - medium: msisdn # - medium: msisdn
# pattern: '\\+44' # pattern: '\\+44'
# If set, allows registration by anyone who also has the shared # If set, allows registration of standard or admin accounts by anyone who
# secret, even if registration is otherwise disabled. # has the shared secret, even if registration is otherwise disabled.
# #
%(registration_shared_secret)s %(registration_shared_secret)s
......
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