Slavi Pantaleev
vor 1 Jahr
committed by
GitHub
Ursprung
Commit
b3f3fca295
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194
1 geänderte Dateien mit
2 neuen und
2 gelöschten Zeilen
-
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. |
|
|
|
|