瀏覽代碼

Merge pull request #3730 from luixxiul/fix

Update docs/updating-users-passwords.md
pull/3736/head
Slavi Pantaleev 1 年之前
committed by GitHub
父節點
當前提交
b3f3fca295
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      docs/updating-users-passwords.md

+ 2
- 2
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 = '<password-hash>' WHERE name = '@someone:example.com'
```sql
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…
取消
儲存