From 9f111075e8204dd55e141f04d78e06c718892956 Mon Sep 17 00:00:00 2001 From: BramvdnHeuvel <43719024+BramvdnHeuvel@users.noreply.github.com> Date: Mon, 13 Sep 2021 14:58:34 +0200 Subject: Fix copy-paste error in the password section of the sample-config. (#10804) --- changelog.d/10804.doc | 1 + docs/sample_config.yaml | 2 +- synapse/config/auth.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelog.d/10804.doc 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 -- cgit 1.4.1