From 300bee0587bcef5bf9e91896e6154c04fc15003e Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 16 May 2022 12:23:31 -0500 Subject: [PATCH] Fix password reset feature detection --- app/soapbox/actions/security.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/actions/security.js b/app/soapbox/actions/security.js index 5f40f60f3..454742c96 100644 --- a/app/soapbox/actions/security.js +++ b/app/soapbox/actions/security.js @@ -86,7 +86,7 @@ export function changePassword(oldPassword, newPassword, confirmation) { export function resetPassword(usernameOrEmail) { return (dispatch, getState) => { const state = getState(); - const v = parseVersion(state.instance); + const v = parseVersion(state.instance.version); dispatch({ type: RESET_PASSWORD_REQUEST });