client-api: allow /login to support authentication from appservices

This commit is contained in:
Matthias Ahouansou 2024-03-13 11:07:43 +00:00 committed by Kévin Commaille
parent 93c1605a46
commit 4ffbed0e06
2 changed files with 3 additions and 2 deletions

View File

@ -31,7 +31,8 @@ Improvements:
according to MSC4025.
- Allow `discovery::get_supported_versions::v1` to optionally accept
authentication, according to MSC4026.
- Allow `account::register::v3` to accept authentication for appservices.
- Allow `account::register::v3` and `account::login::v3` to accept
authentication for appservices.
# 0.17.4

View File

@ -26,7 +26,7 @@ pub mod v3 {
const METADATA: Metadata = metadata! {
method: POST,
rate_limited: true,
authentication: None,
authentication: AppserviceToken,
history: {
1.0 => "/_matrix/client/r0/login",
1.1 => "/_matrix/client/v3/login",