Skip to content
Snippets Groups Projects
Unverified Commit 4a3f1388 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

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.)
parent 8520bc31
No related branches found
No related tags found
No related merge requests found
Fix quoting for allowed_local_3pids example config
......@@ -84,11 +84,11 @@ class RegistrationConfig(Config):
#
# allowed_local_3pids:
# - medium: email
# pattern: ".*@matrix\\.org"
# pattern: '.*@matrix\\.org'
# - medium: email
# pattern: ".*@vector\\.im"
# pattern: '.*@vector\\.im'
# - medium: msisdn
# pattern: "\\+44"
# pattern: '\\+44'
# If set, allows registration by anyone who also has the shared
# secret, even if registration is otherwise disabled.
......
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