瀏覽代碼
Update docs/updating-users-passwords.md: triple backticks for syntax highlighting
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3730/head
Suguru Hirahara
1 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: E4F9743DAB4B7B75
共有
1 個檔案被更改,包括
1 行新增 和
1 行删除
-
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 = '<password-hash>' WHERE name = '@someone:example.com' |
|
|
|
``` |
|
|
|
|
|
|
|
|