Typo e-mail replace email
This commit is contained in:
@@ -65,7 +65,7 @@ export default function ResetDialog({lyen, title, activation, content, open, set
|
|||||||
value={email}
|
value={email}
|
||||||
margin='dense'
|
margin='dense'
|
||||||
id='email'
|
id='email'
|
||||||
label='Adresse email'
|
label='Adresse e-mail'
|
||||||
type='email'
|
type='email'
|
||||||
variant='standard'
|
variant='standard'
|
||||||
onChange={event => setEmail(event.target.value)}
|
onChange={event => setEmail(event.target.value)}
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ export default function ResetPassword() {
|
|||||||
<ResetDialog
|
<ResetDialog
|
||||||
lyen='forgot-password'
|
lyen='forgot-password'
|
||||||
title='Mot de passe oublié'
|
title='Mot de passe oublié'
|
||||||
content='Indiquez l’adresse email utilisée lors de votre inscription. Vous receverez des instructions par email.'
|
content='Indiquez l’adresse e-mail utilisée lors de votre inscription. Vous receverez des instructions par e-mail.'
|
||||||
open={open}
|
open={open}
|
||||||
setOpen={setOpen}
|
setOpen={setOpen}
|
||||||
setLoading={setLoading}
|
setLoading={setLoading}
|
||||||
|
|||||||
@@ -105,9 +105,9 @@ function Koneksyon({chimen}) {
|
|||||||
localStorage.setItem('user-id', response?.data?.user?._id)
|
localStorage.setItem('user-id', response?.data?.user?._id)
|
||||||
setSuccess(true)
|
setSuccess(true)
|
||||||
resetRegisterForm()
|
resetRegisterForm()
|
||||||
} catch (error) {
|
} catch (error_) {
|
||||||
if (error.message.endsWith(400)) {
|
if (error_.message.endsWith(400)) {
|
||||||
setError('Email ou utilisateur déjà enregistré')
|
setError('E-mail ou utilisateur déjà enregistré')
|
||||||
} else {
|
} else {
|
||||||
setError('Une erreur s’est produite')
|
setError('Une erreur s’est produite')
|
||||||
}
|
}
|
||||||
@@ -233,7 +233,7 @@ function Koneksyon({chimen}) {
|
|||||||
</Tabs>
|
</Tabs>
|
||||||
<TabPanel value={value} index={0}>
|
<TabPanel value={value} index={0}>
|
||||||
<FormControl fullWidth autoComplete='off'>
|
<FormControl fullWidth autoComplete='off'>
|
||||||
<InputLabel htmlFor='username'>Email</InputLabel>
|
<InputLabel htmlFor='username'>E-mail</InputLabel>
|
||||||
<Input
|
<Input
|
||||||
autoComplete='email'
|
autoComplete='email'
|
||||||
value={loginCredentials.username}
|
value={loginCredentials.username}
|
||||||
@@ -285,7 +285,7 @@ function Koneksyon({chimen}) {
|
|||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel value={value} index={1}>
|
<TabPanel value={value} index={1}>
|
||||||
<FormControl fullWidth>
|
<FormControl fullWidth>
|
||||||
<InputLabel htmlFor='register-email'>Email</InputLabel>
|
<InputLabel htmlFor='register-email'>E-mail</InputLabel>
|
||||||
<Input
|
<Input
|
||||||
autoComplete='email'
|
autoComplete='email'
|
||||||
value={registerCredentials.email}
|
value={registerCredentials.email}
|
||||||
@@ -375,7 +375,7 @@ function Koneksyon({chimen}) {
|
|||||||
onClick={() => setOpenDialog(true)}
|
onClick={() => setOpenDialog(true)}
|
||||||
>
|
>
|
||||||
<Typography style={{fontWeight: 'bold'}}>
|
<Typography style={{fontWeight: 'bold'}}>
|
||||||
Renvoyer l’email de confirmation
|
Renvoyer l’e-mail de confirmation
|
||||||
</Typography>
|
</Typography>
|
||||||
</Button>
|
</Button>
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
@@ -383,8 +383,8 @@ function Koneksyon({chimen}) {
|
|||||||
<ResetDialog
|
<ResetDialog
|
||||||
activation
|
activation
|
||||||
lyen='send-email-confirmation'
|
lyen='send-email-confirmation'
|
||||||
title='Envoi de l’email de confirmation'
|
title='Envoi de l’e-mail de confirmation'
|
||||||
content='Si vous n’avez pas reçu l’email de confirmation, renseignez le champ et validez le formulaire.'
|
content='Si vous n’avez pas reçu l’e-mail de confirmation, renseignez le champ et validez le formulaire.'
|
||||||
open={openDialog}
|
open={openDialog}
|
||||||
setOpen={setOpenDialog}
|
setOpen={setOpenDialog}
|
||||||
setLoading={setLoading}
|
setLoading={setLoading}
|
||||||
@@ -410,7 +410,7 @@ function Koneksyon({chimen}) {
|
|||||||
autoHideDuration={15_000}
|
autoHideDuration={15_000}
|
||||||
onClose={handleClose}
|
onClose={handleClose}
|
||||||
>
|
>
|
||||||
<Alert severity='success' onClose={handleClose}><strong>Veuillez confirmer votre adresse email via le lien qui vous a été envoyé.</strong></Alert>
|
<Alert severity='success' onClose={handleClose}><strong>Veuillez confirmer votre adresse e-mail via le lien qui vous a été envoyé.</strong></Alert>
|
||||||
</Snackbar>
|
</Snackbar>
|
||||||
)}
|
)}
|
||||||
</Container>
|
</Container>
|
||||||
|
|||||||
Reference in New Issue
Block a user