From 2f79f875d4db0b571cd3f9cbb909df090b8e6260 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sun, 12 Jan 2025 00:48:49 +0900 Subject: [PATCH] Update docs/updating-users-passwords.md: use the common placeholder for an access token Signed-off-by: Suguru Hirahara --- docs/updating-users-passwords.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/updating-users-passwords.md b/docs/updating-users-passwords.md index 91e7d8010..aecd038ef 100644 --- a/docs/updating-users-passwords.md +++ b/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: ```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.