diff --git a/docs/updating-users-passwords.md b/docs/updating-users-passwords.md index 1785a67ca..efc2c9b36 100644 --- a/docs/updating-users-passwords.md +++ b/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 = '' WHERE name = '@someone:example.com' +```sql +UPDATE users SET password_hash = '' WHERE name = '@someone:example.com'; ``` where `` is the hash returned by the docker command above.