mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 12:08:32 +03:00
Fix quoting for allowed_local_3pids example config (#4476)
If you use double-quotes here, you have to escape your backslashes. It's much easier with single-quotes. (Note that the existing double-backslashes are already interpreted by python's """ parsing.)
This commit is contained in:
parent
8520bc3109
commit
4a3f138832
2 changed files with 4 additions and 3 deletions
1
changelog.d/4476.misc
Normal file
1
changelog.d/4476.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix quoting for allowed_local_3pids example config
|
|
@ -84,11 +84,11 @@ class RegistrationConfig(Config):
|
||||||
#
|
#
|
||||||
# allowed_local_3pids:
|
# allowed_local_3pids:
|
||||||
# - medium: email
|
# - medium: email
|
||||||
# pattern: ".*@matrix\\.org"
|
# pattern: '.*@matrix\\.org'
|
||||||
# - medium: email
|
# - medium: email
|
||||||
# pattern: ".*@vector\\.im"
|
# pattern: '.*@vector\\.im'
|
||||||
# - medium: msisdn
|
# - medium: msisdn
|
||||||
# pattern: "\\+44"
|
# pattern: '\\+44'
|
||||||
|
|
||||||
# If set, allows registration by anyone who also has the shared
|
# If set, allows registration by anyone who also has the shared
|
||||||
# secret, even if registration is otherwise disabled.
|
# secret, even if registration is otherwise disabled.
|
||||||
|
|
Loading…
Reference in a new issue