Development #5743
Let the registration page have a second email field, for confirmation
100%
Description
It happens that people mistype their emails, it would be good to have (as an option?) a second email field in the registration page, in the hope that it will catch typos.
(this has been requested by both Vincennes & Montpellier)
Fichiers
Révisions associées
Do not reuse Django EmailValidator in our own validator
We already do all their checks and more.
refs #5743
Add widget and fields to implement fields with validation
It also adds an implementation of an EmailField with validation.
refs #5743
Replace default email field in registration form by an email field with validation
refs #5743
Update french translation
fixes #5743
Historique
Mis à jour par Benjamin Dauvergne il y a plus de 9 ans
- Assigné à mis à Benjamin Dauvergne
I take it.
Mis à jour par Benjamin Dauvergne il y a plus de 9 ans
- Patch proposed changé de Non à Oui
- Fichier 0001-Plug-custom-EmailValidator-in-model-s-EmailField-and.patch 0001-Plug-custom-EmailValidator-in-model-s-EmailField-and.patch ajouté
- Fichier 0002-Do-not-reuse-Django-EmailValidator-in-our-own-valida.patch 0002-Do-not-reuse-Django-EmailValidator-in-our-own-valida.patch ajouté
- Fichier 0003-Add-widget-and-fields-to-implement-fields-with-valid.patch 0003-Add-widget-and-fields-to-implement-fields-with-valid.patch ajouté
- Fichier 0004-Replace-default-email-field-in-registration-form-by-.patch 0004-Replace-default-email-field-in-registration-form-by-.patch ajouté
First patch fix remaining problems with the way we monkey-patch the email field to get our own email validation.
Second patch fix our own email validator which was doing the sames checks two times by piggybacking on Django implementation.
Third patch adds custom fields and widgets enabling double validation of inputs, with a specific instance for emails.
Last patch changes the field in the registration form.
Mis à jour par Frédéric Péters il y a plus de 9 ans
"You must enter your email two times" → it should be "twice", but actually I think I'd prefer "The two email fields didn't match.", just like it's done with passwords.
Mis à jour par Benjamin Dauvergne il y a plus de 9 ans
- Fichier 0003-Add-widget-and-fields-to-implement-fields-with-valid.patch 0003-Add-widget-and-fields-to-implement-fields-with-valid.patch ajouté
- Fichier 0005-Update-french-translation.patch 0005-Update-french-translation.patch ajouté
Fix message when second input do not match, add translations.
Mis à jour par Benjamin Dauvergne il y a plus de 9 ans
- Statut changé de Nouveau à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit 78e421b0fea4eff9532a649610e58d186fa61229.
Mis à jour par Benjamin Dauvergne il y a plus de 9 ans
- Statut changé de Résolu (à déployer) à Fermé
Mis à jour par Pierre Cros il y a plus de 9 ans
- Fichier capture.png capture.png ajouté
- Statut changé de Fermé à En cours
IL y a un petit soucis sous FX cf capture
Mis à jour par Frédéric Péters il y a plus de 9 ans
- Statut changé de En cours à Fermé
I'm closing this one, I'm opening one in the montpellier project (as it's a theming issue).
Plug custom EmailValidator in model's EmailField and form's EmailField
refs #5743