Skip to content

Commit da9fc3c

Browse files
authored
Minor rewording
1 parent c9bca2b commit da9fc3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/setup/migration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Follow the instructions in the [installation guide](installation.md) to install
4545
Synapse uses bcrypt as its password hashing scheme while MAS defaults to using the newer argon2id.
4646
You will have to configure the version 1 scheme as bcrypt for migrated passwords to work.
4747
It is also recommended that you keep argon2id as version 2 so that once users log in, their hashes will be updated to the newer recommended scheme.
48-
If you have set a pepper in the Synapses password_config section of your homeserver.yaml then you need to specify this pepper as the secret field for your bcrypt scheme. Otherwise logins with the correct Password will fail.
48+
If you have a `pepper` set in the `password_config` section of your Synapse config, then you need to specify this `pepper` as the `secret` field for your `bcrypt` scheme.
4949

5050
Example passwords configuration:
5151
```yml
@@ -54,8 +54,8 @@ passwords:
5454
schemes:
5555
- version: 1
5656
algorithm: bcrypt
57-
# Optional, The secret field is the equivalent to Synapses password_config pepper.
58-
secret: secretPepperValue
57+
# Optional, must match the `password_config.pepper` in the Synapse config
58+
#secret: secretPepperValue
5959
- version: 2
6060
algorithm: argon2id
6161
```

0 commit comments

Comments
 (0)