summary refs log tree commit diff
diff options
context:
space:
mode:
authorBramvdnHeuvel <43719024+BramvdnHeuvel@users.noreply.github.com>2021-09-13 14:58:34 +0200
committerGitHub <noreply@github.com>2021-09-13 08:58:34 -0400
commit9f111075e8204dd55e141f04d78e06c718892956 (patch)
tree66ea402ff73edbff893bb7b700af842ca28a7186
parentUse the BaseReporter super-class for _WrappedRustReporter. (#10799) (diff)
downloadsynapse-9f111075e8204dd55e141f04d78e06c718892956.tar.xz
Fix copy-paste error in the password section of the sample-config. (#10804)
Diffstat (limited to '')
-rw-r--r--changelog.d/10804.doc1
-rw-r--r--docs/sample_config.yaml2
-rw-r--r--synapse/config/auth.py2
3 files changed, 3 insertions, 2 deletions
diff --git a/changelog.d/10804.doc b/changelog.d/10804.doc
new file mode 100644
index 0000000000..5d57af3b5f
--- /dev/null
+++ b/changelog.d/10804.doc
@@ -0,0 +1 @@
+Fixed a wording mistake in the sample configuration. Contributed by @bramvdnheuvel:nltrix.net.
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index e15a832220..95cca16552 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -2086,7 +2086,7 @@ password_config:
       #
       #require_lowercase: true
 
-      # Whether a password must contain at least one lowercase letter.
+      # Whether a password must contain at least one uppercase letter.
       # Defaults to 'false'.
       #
       #require_uppercase: true
diff --git a/synapse/config/auth.py b/synapse/config/auth.py
index 53809cee2e..ba8bf9cbe7 100644
--- a/synapse/config/auth.py
+++ b/synapse/config/auth.py
@@ -88,7 +88,7 @@ class AuthConfig(Config):
               #
               #require_lowercase: true
 
-              # Whether a password must contain at least one lowercase letter.
+              # Whether a password must contain at least one uppercase letter.
               # Defaults to 'false'.
               #
               #require_uppercase: true