|
|
|
@ -5,7 +5,7 @@ import find from 'lodash/find' |
|
|
|
import map from 'lodash/map' |
|
|
|
import map from 'lodash/map' |
|
|
|
|
|
|
|
|
|
|
|
import { formIds } from 'config/form' |
|
|
|
import { formIds } from 'config/form' |
|
|
|
import { AUTH_SERVICE } from 'config/routes' |
|
|
|
import { AUTH_SERVICE_OLD } from 'config/routes' |
|
|
|
|
|
|
|
|
|
|
|
import { useForm } from 'features/FormStore' |
|
|
|
import { useForm } from 'features/FormStore' |
|
|
|
import { useLexicsStore } from 'features/LexicsStore' |
|
|
|
import { useLexicsStore } from 'features/LexicsStore' |
|
|
|
@ -112,7 +112,7 @@ export const useUserInfo = ({ loader, onSubmit }: Props) => { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const resetPassword = useCallback(() => { |
|
|
|
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]) |
|
|
|
}, [token]) |
|
|
|
|
|
|
|
|
|
|
|
return { |
|
|
|
return { |
|
|
|
|