mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-24 00:44:53 +01:00
Update docs/updating-users-passwords.md: fix SQL command
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
parent
f8c9507ae1
commit
1886a8fc4d
@ -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:
|
and then connecting to the postgres server and executing:
|
||||||
|
|
||||||
```sql
|
```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.
|
where `<password-hash>` is the hash returned by the docker command above.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user