소스 검색
Merge pull request #3730 from luixxiul/fix
Update docs/updating-users-passwords.md
pull/3736/head
Slavi Pantaleev
1 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: B5690EEEBB952194
1개의 변경된 파일과
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. |
|
|
|
|