Ver a proveniência
Merge pull request #3730 from luixxiul/fix
Update docs/updating-users-passwords.md
pull/3736/head
Slavi Pantaleev
há 1 ano
committed by
GitHub
ascendente
cometimento
b3f3fca295
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: B5690EEEBB952194
1 ficheiros alterados com
2 adições e
2 eliminações
-
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. |
|
|
|
|