Skip to content

Commit

Permalink
feat: update login response message (#1682)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevbarns authored Dec 2, 2024
1 parent 560d5ae commit 43e27ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/pages/espace-pro/authentification/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const ConnexionCompte = () => {
sendMagiclink(values)
.then(() => {
toast({
title: "Email valide.",
description: "Un lien d'accès personnalisé vous a été envoyé par mail.",
title: "Vérification de l'email.",
description: "Un lien d'accès personnalisé a été envoyé à votre adresse.",
position: "top-right",
status: "success",
duration: 5000,
Expand All @@ -32,7 +32,7 @@ const ConnexionCompte = () => {
)
break
case "UNKNOWN":
setFieldError("email", "L’adresse email renseignée n’existe pas")
setFieldError("email", "Adresse email invalide.")
break
case "VALIDATION":
setFieldError("email", "Le compte utilisateur est en attente de validation")
Expand Down

0 comments on commit 43e27ab

Please sign in to comment.