Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2860 | Rev 3156 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 2860 Rev 2865
Línea 3... Línea 3...
3
import { useForm } from 'react-hook-form'
3
import { useForm } from 'react-hook-form'
4
import { useDispatch, useSelector } from 'react-redux'
4
import { useDispatch, useSelector } from 'react-redux'
5
import { Lock } from '@mui/icons-material'
5
import { Lock } from '@mui/icons-material'
6
import Recaptcha from 'react-recaptcha'
6
import Recaptcha from 'react-recaptcha'
Línea 7... Línea 7...
7
 
7
 
8
import { axios } from '../../utils'
8
import { axios } from '@utils'
9
import { addNotification } from '../../redux/notification/notification.actions'
9
import CryptoJSAesJson from '@utils/crypto-js/cryptojs-aes-format'
Línea 10... Línea -...
10
import CryptoJSAesJson from '../../utils/crypto-js/cryptojs-aes-format'
-
 
11
 
10
import { addNotification } from '@store/notification/notification.actions'
12
import AuthForm from '../../components/auth/AuthForm'
11
 
-
 
12
import Input from '@components/UI/inputs/Input'
Línea 13... Línea 13...
13
import Input from 'components/UI/form/FormInputText'
13
import Button from '@components/UI/buttons/Buttons'
14
import Button from '@components/UI/buttons/Buttons'
14
import AuthForm from '@components/auth/AuthForm'
15
 
15
 
16
const ResetPassword = () => {
16
const ResetPassword = () => {
Línea 93... Línea 93...
93
      <h3>Reiniciar clave</h3>
93
      <h3>Reiniciar clave</h3>
Línea 94... Línea 94...
94
 
94
 
95
      <Input
95
      <Input
96
        type='password'
96
        type='password'
97
        name='password'
97
        name='password'
98
        icon={Lock}
98
        icon={<Lock />}
99
        placeholder='Clave'
99
        placeholder='Clave'
100
        error={errors.password?.message}
100
        error={errors.password?.message}
101
        control={control}
101
        control={control}
102
        rules={{
102
        rules={{
Línea 111... Línea 111...
111
      />
111
      />
Línea 112... Línea 112...
112
 
112
 
113
      <Input
113
      <Input
114
        type='password'
114
        type='password'
115
        name='confirmation'
115
        name='confirmation'
116
        icon={Lock}
116
        icon={<Lock />}
117
        placeholder='Repita nueva clave'
117
        placeholder='Repita nueva clave'
118
        error={errors.confirmation?.message}
118
        error={errors.confirmation?.message}
119
        control={control}
119
        control={control}
120
        rules={{
120
        rules={{