diff --git a/changelog.d/7889.doc b/changelog.d/7889.doc new file mode 100644 index 0000000000000000000000000000000000000000..d91f62fd390f40a5b2cd4bae423deb1099462f1c --- /dev/null +++ b/changelog.d/7889.doc @@ -0,0 +1 @@ +Change the sample config postgres user section to use `synapse_user` instead of `synapse` to align with the documentation. \ No newline at end of file diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index 0e83f855bbf62f015789c250fb35aaa0d7721267..2e001fb67424a0869e7fe0c513e355936fa078ac 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -685,7 +685,7 @@ caches: #database: # name: psycopg2 # args: -# user: synapse +# user: synapse_user # password: secretpassword # database: synapse # host: localhost diff --git a/synapse/config/database.py b/synapse/config/database.py index 1064c2697b3072aafcdee046da4b268e0aad7aa8..62bccd9ef52fdcf68a9171cb18275c7021f3b91f 100644 --- a/synapse/config/database.py +++ b/synapse/config/database.py @@ -55,7 +55,7 @@ DEFAULT_CONFIG = """\ #database: # name: psycopg2 # args: -# user: synapse +# user: synapse_user # password: secretpassword # database: synapse # host: localhost