Add logout_devices parameter to change_password::Request
This commit is contained in:
parent
c2ea1493cb
commit
c74b737fa5
@ -39,6 +39,7 @@ Improvements:
|
||||
* Add a constructor for request structs of the followign endpoints
|
||||
* `r0::room::create_room`
|
||||
* `r0::message::get_message_events`
|
||||
* Add `logout_devices` field to `r0::account::change_password`
|
||||
|
||||
Deprecations:
|
||||
|
||||
|
@ -18,6 +18,12 @@ ruma_api! {
|
||||
/// The new password for the account.
|
||||
pub new_password: String,
|
||||
|
||||
/// True to revoke the user's other access tokens, and their associated devices if the request succeeds.
|
||||
/// Defaults to true.
|
||||
/// When false, the server can still take advantage of the soft logout method for the user's remaining devices.
|
||||
#[serde(default = "ruma_serde::default_true", skip_serializing_if = "ruma_serde::is_true")]
|
||||
pub logout_devices: bool,
|
||||
|
||||
/// Additional authentication information for the user-interactive authentication API.
|
||||
pub auth: Option<AuthData>,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user