瀏覽代碼

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

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3730/head
Suguru Hirahara 1 年之前
父節點
當前提交
1886a8fc4d
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: E4F9743DAB4B7B75
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      docs/updating-users-passwords.md

+ 1
- 1
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 = '<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.


Loading…
取消
儲存