소스 검색
Update docs/updating-users-passwords.md: fix SQL command
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3730/head
Suguru Hirahara
1 년 전
No known key found for this signature in database
GPG 키 ID: E4F9743DAB4B7B75
1개의 변경된 파일과
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. |
|
|
|
|