mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-20 12:02:00 +08:00
Matrix token command hint should send JSON (#5990)
Co-authored-by: Otto Richter <otto@codeberg.org>
This commit is contained in:
committed by
GitHub
parent
7c88a38df3
commit
2fd4e1cc72
@@ -18,7 +18,7 @@
|
||||
{{ $t("matrixDesc1") }}
|
||||
</p>
|
||||
<i18n-t tag="p" keypath="matrixDesc2" style="margin-top: 8px;">
|
||||
<code>curl -XPOST -d '{"type": "m.login.password", "identifier": {"user": "botusername", "type": "m.id.user"}, "password": "passwordforuser"}' "https://home.server/_matrix/client/v3/login"</code>.
|
||||
<code>curl -XPOST --json '{"type": "m.login.password", "identifier": {"user": "botusername", "type": "m.id.user"}, "password": "passwordforuser"}' "https://home.server/_matrix/client/v3/login"</code>.
|
||||
</i18n-t>
|
||||
</div>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user