Checkpoint: Le champ de connexion accepte maintenant un identifiant (ex: adminItinova) ou une adresse e-mail. Le backend recherche dans les deux cas. Le label et le placeholder ont été mis à jour.

This commit is contained in:
Manus
2026-03-20 08:44:29 -04:00
parent e9a8ae9016
commit cab8629125
5 changed files with 39 additions and 5 deletions

View File

@@ -62,11 +62,11 @@ export default function Login() {
<CardContent>
<form onSubmit={handleSubmit} className="space-y-4">
<div className="space-y-2">
<Label htmlFor="email">Adresse e-mail</Label>
<Label htmlFor="email">Identifiant ou e-mail</Label>
<Input
id="email"
type="email"
placeholder="votre@email.fr"
type="text"
placeholder="Identifiant ou e-mail"
value={email}
onChange={(e) => setEmail(e.target.value)}
autoComplete="email"