Update docs/updating-users-passwords.md: fix SQL command

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
Suguru Hirahara 2024-11-03 12:53:12 +09:00
parent f8c9507ae1
commit 1886a8fc4d
No known key found for this signature in database
GPG Key ID: E4F9743DAB4B7B75

View File

@ -24,7 +24,7 @@ docker exec -it matrix-synapse /usr/local/bin/hash_password -c /data/homeserver.
and then connecting to the postgres server and executing:
```sql
UPDATE users SET password_hash = '<password-hash>' WHERE name = '@someone:example.com'
UPDATE users SET password_hash = '<password-hash>' WHERE name = '@someone:example.com';
```
where `<password-hash>` is the hash returned by the docker command above.