Default logout_devices to true

This commit is contained in:
Neil Alexander 2020-09-04 14:35:47 +01:00
parent 3bf42a3021
commit d600113296
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 2 additions and 0 deletions

View file

@ -36,6 +36,7 @@ func Password(
) util.JSONResponse {
// Check that the existing password is right.
var r newPasswordRequest
r.LogoutDevices = true
// Unmarshal the request.
resErr := httputil.UnmarshalJSONRequest(req, &r)

View file

@ -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, existing session still works
After changing password, different sessions can optionally be kept
After changing password, a different session no longer works by default