mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-23 14:53:10 -06:00
Default logout_devices to true
This commit is contained in:
parent
3bf42a3021
commit
d600113296
|
|
@ -36,6 +36,7 @@ func Password(
|
||||||
) util.JSONResponse {
|
) util.JSONResponse {
|
||||||
// Check that the existing password is right.
|
// Check that the existing password is right.
|
||||||
var r newPasswordRequest
|
var r newPasswordRequest
|
||||||
|
r.LogoutDevices = true
|
||||||
|
|
||||||
// Unmarshal the request.
|
// Unmarshal the request.
|
||||||
resErr := httputil.UnmarshalJSONRequest(req, &r)
|
resErr := httputil.UnmarshalJSONRequest(req, &r)
|
||||||
|
|
|
||||||
|
|
@ -464,3 +464,4 @@ After changing password, can't log in with old password
|
||||||
After changing password, can log in with new password
|
After changing password, can log in with new password
|
||||||
After changing password, existing session still works
|
After changing password, existing session still works
|
||||||
After changing password, different sessions can optionally be kept
|
After changing password, different sessions can optionally be kept
|
||||||
|
After changing password, a different session no longer works by default
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue