kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Merge branch 'password-reset-feature' into 'develop'
Fix password reset feature detection See merge request soapbox-pub/soapbox-fe!1395site-logo-fallback
commit
bbefc800c0
|
@ -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 });
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue