From f8c9507ae1c9a396db89a498b6bf4bbd0ff3ac85 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Thu, 24 Oct 2024 02:49:07 +0900 Subject: [PATCH 1/2] Update docs/updating-users-passwords.md: triple backticks for syntax highlighting Signed-off-by: Suguru Hirahara --- docs/updating-users-passwords.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/updating-users-passwords.md b/docs/updating-users-passwords.md index 1785a67ca..850937706 100644 --- a/docs/updating-users-passwords.md +++ b/docs/updating-users-passwords.md @@ -23,7 +23,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 = '' WHERE name = '@someone:example.com' ``` From 1886a8fc4d36da66f21ee671d9d5d0def1775860 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sun, 3 Nov 2024 12:53:12 +0900 Subject: [PATCH 2/2] Update docs/updating-users-passwords.md: fix SQL command Signed-off-by: Suguru Hirahara --- docs/updating-users-passwords.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/updating-users-passwords.md b/docs/updating-users-passwords.md index 850937706..efc2c9b36 100644 --- a/docs/updating-users-passwords.md +++ b/docs/updating-users-passwords.md @@ -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 = '' WHERE name = '@someone:example.com' +UPDATE users SET password_hash = '' WHERE name = '@someone:example.com'; ``` where `` is the hash returned by the docker command above.