From d600113296e6d54a1a5bf7c295873114c2183860 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 4 Sep 2020 14:35:47 +0100 Subject: [PATCH] Default logout_devices to true --- clientapi/routing/password.go | 1 + sytest-whitelist | 1 + 2 files changed, 2 insertions(+) diff --git a/clientapi/routing/password.go b/clientapi/routing/password.go index fed74b6c4..8b81b9f02 100644 --- a/clientapi/routing/password.go +++ b/clientapi/routing/password.go @@ -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) diff --git a/sytest-whitelist b/sytest-whitelist index 681856910..93d2de593 100644 --- a/sytest-whitelist +++ b/sytest-whitelist @@ -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