浏览代码

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 密钥 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.


正在加载...
取消
保存