Fix password reset feature detection

This commit is contained in:
Alex Gleason 2022-05-16 12:23:31 -05:00
parent 008b51eef1
commit 300bee0587
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -86,7 +86,7 @@ export function changePassword(oldPassword, newPassword, confirmation) {
export function resetPassword(usernameOrEmail) { export function resetPassword(usernameOrEmail) {
return (dispatch, getState) => { return (dispatch, getState) => {
const state = getState(); const state = getState();
const v = parseVersion(state.instance); const v = parseVersion(state.instance.version);
dispatch({ type: RESET_PASSWORD_REQUEST }); dispatch({ type: RESET_PASSWORD_REQUEST });