Bläddra i källkod
Merge pull request #3730 from luixxiul/fix
Update docs/updating-users-passwords.md
pull/3736/head
Slavi Pantaleev
1 år sedan
committed by
GitHub
förälder
incheckning
b3f3fca295
Ingen känd nyckel hittad för denna signaturen i databasen
GPG-nyckel ID: B5690EEEBB952194
1 ändrade filer med
2 tillägg och
2 borttagningar
-
docs/updating-users-passwords.md
|
|
|
@@ -23,8 +23,8 @@ docker exec -it matrix-synapse /usr/local/bin/hash_password -c /data/homeserver. |
|
|
|
|
|
|
|
and then connecting to the postgres server and executing: |
|
|
|
|
|
|
|
``` |
|
|
|
UPDATE users SET password_hash = '<password-hash>' WHERE name = '@someone:example.com' |
|
|
|
```sql |
|
|
|
UPDATE users SET password_hash = '<password-hash>' WHERE name = '@someone:example.com'; |
|
|
|
``` |
|
|
|
|
|
|
|
where `<password-hash>` is the hash returned by the docker command above. |
|
|
|
|