feat(in-738): user password fix #283

Merged
roman.rakov merged 1 commits from IN-738-user-password into develop 2 years ago
  1. 4
      src/features/UserAccount/components/PersonalInfoForm/hooks/useUserInfo.tsx

@ -5,7 +5,7 @@ import find from 'lodash/find'
import map from 'lodash/map'
import { formIds } from 'config/form'
import { AUTH_SERVICE } from 'config/routes'
import { AUTH_SERVICE_OLD } from 'config/routes'
import { useForm } from 'features/FormStore'
import { useLexicsStore } from 'features/LexicsStore'
@ -112,7 +112,7 @@ export const useUserInfo = ({ loader, onSubmit }: Props) => {
}
const resetPassword = useCallback(() => {
window.location.href = `${AUTH_SERVICE}/change_password?client_id=${client.auth.clientId}&token=${token}`
window.location.href = `${AUTH_SERVICE_OLD}/change_password?client_id=${client.auth.clientId}&token=${token}`
}, [token])
return {

Loading…
Cancel
Save