mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Make the spec changes for MSC 2457.
This commit is contained in:
parent
8ba6d0157b
commit
958e1b4a2e
|
|
@ -328,8 +328,7 @@ paths:
|
|||
|
||||
The homeserver may change the flows available depending on whether a
|
||||
valid access token is provided. The homeserver SHOULD NOT revoke the
|
||||
access token provided in the request, however all other access tokens
|
||||
for the user should be revoked if the request succeeds.
|
||||
access token provided in the request.
|
||||
security:
|
||||
- accessToken: []
|
||||
operationId: changePassword
|
||||
|
|
@ -343,6 +342,11 @@ paths:
|
|||
type: string
|
||||
description: The new password for the account.
|
||||
example: "ihatebananas"
|
||||
logout_devices:
|
||||
type: boolean
|
||||
description: |-
|
||||
Whether other access tokens should be revoked if the request succeeds. Defaults to true.
|
||||
example: true
|
||||
auth:
|
||||
description: |-
|
||||
Additional authentication information for the user-interactive authentication API.
|
||||
|
|
|
|||
1
changelogs/client_server/newsfragments/2523.feature
Normal file
1
changelogs/client_server/newsfragments/2523.feature
Normal file
|
|
@ -0,0 +1 @@
|
|||
Optionally invalidate other access tokens during password modification per `MSC 2457 <https://github.com/matrix-org/matrix-doc/pull/2457>`_.
|
||||
Loading…
Reference in a new issue