client-api: Make authentication optional for change_password and
deactivate
This commit is contained in:
parent
64b3838113
commit
b7bc7d4873
@ -18,6 +18,8 @@ Improvements:
|
|||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
- Rename `avatar` to `avatar_url` when (De)serializing
|
- Rename `avatar` to `avatar_url` when (De)serializing
|
||||||
|
- Make authentication with access token optional for the `change_password` and
|
||||||
|
`deactivate` endpoints.
|
||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ pub mod v3 {
|
|||||||
const METADATA: Metadata = metadata! {
|
const METADATA: Metadata = metadata! {
|
||||||
method: POST,
|
method: POST,
|
||||||
rate_limited: true,
|
rate_limited: true,
|
||||||
authentication: AccessToken,
|
authentication: AccessTokenOptional,
|
||||||
history: {
|
history: {
|
||||||
1.0 => "/_matrix/client/r0/account/password",
|
1.0 => "/_matrix/client/r0/account/password",
|
||||||
1.1 => "/_matrix/client/v3/account/password",
|
1.1 => "/_matrix/client/v3/account/password",
|
||||||
|
@ -20,7 +20,7 @@ pub mod v3 {
|
|||||||
const METADATA: Metadata = metadata! {
|
const METADATA: Metadata = metadata! {
|
||||||
method: POST,
|
method: POST,
|
||||||
rate_limited: true,
|
rate_limited: true,
|
||||||
authentication: AccessToken,
|
authentication: AccessTokenOptional,
|
||||||
history: {
|
history: {
|
||||||
1.0 => "/_matrix/client/r0/account/deactivate",
|
1.0 => "/_matrix/client/r0/account/deactivate",
|
||||||
1.1 => "/_matrix/client/v3/account/deactivate",
|
1.1 => "/_matrix/client/v3/account/deactivate",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user