Skip to content

Commit

Permalink
Merge pull request #99 from anct-cnum/QuickFix_message_error_openPopi…
Browse files Browse the repository at this point in the history
…nVerifMdp

Retirer la phrase d'erreur pour les tentatives de mdp
  • Loading branch information
MorganP-projects authored Jan 23, 2024
2 parents 7ec9055 + b36488b commit bdd1626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/anonymous/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function Login() {
<h2>Connexion</h2>
<div>
<div>
{(error && !error?.resetPasswordCnil && !error?.openPopinVerifyCode) &&
{(error && !error?.resetPasswordCnil && !error?.openPopinVerifyCode && !error?.attemptFail) &&
<span style={{ color: 'red' }}>{error.error?.message?.toString() ?? 'Une erreur s\'est produite'}</span>}
{deleteError && <span style={{ color: 'red' }}>{'Une erreur est survenue : ' + deleteError}</span>}
</div>
Expand Down

0 comments on commit bdd1626

Please sign in to comment.