Просмотр исходного кода

Update docs/updating-users-passwords.md: use the common placeholder for an access token

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3947/head
Suguru Hirahara 1 год назад
Родитель
Сommit
2f79f875d4
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
1 измененных файлов: 3 добавлений и 1 удалений
  1. +3
    -1
      docs/updating-users-passwords.md

+ 3
- 1
docs/updating-users-passwords.md Просмотреть файл

@@ -43,5 +43,7 @@ If you didn't make your account a server admin when you created it, you can lear
To set @alice:example.com's password to `correct_horse_battery_staple` you could use this curl command: To set @alice:example.com's password to `correct_horse_battery_staple` you could use this curl command:


```sh ```sh
curl -XPOST -d '{ "new_password": "correct_horse_battery_staple" }' "https://matrix.example.com/_matrix/client/r0/admin/reset_password/@alice:example.com?access_token=MDA...this_is_my_access_token
curl -XPOST -d '{ "new_password": "correct_horse_battery_staple" }' "https://matrix.example.com/_matrix/client/r0/admin/reset_password/@alice:example.com?access_token=ACCESS_TOKEN_HERE
``` ```

Make sure to replace `ACCESS_TOKEN_HERE` with the access token of the server admin account.

Загрузка…
Отмена
Сохранить