Fix password reset feature detection
This commit is contained in:
parent
008b51eef1
commit
300bee0587
1 changed files with 1 additions and 1 deletions
|
@ -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 });
|
||||
|
||||
|
|
Loading…
Reference in a new issue