Development #10621
Implémentation de la création rapide de compte.
100%
Fichiers
Révisions associées
Define a registration frontend and manage account creation with FC data (fixes #10621).
The registration frontend is used when the user is not logged locally
not with FC. The login template provide a link to the FC login view and
then to the plugin registration view.
If the user is already logged with FC, the login template provide a link
to the plugin registration view.
Add a registration view (fixes #10621).
The view is called to create an account using the data provided by FC
at account creation.
The data provided is put in a protected token and sent to the next url.
If FC provides an email, the view redirects to the activation view.
If an email is not provided, the view redirects to the email registration
view.
The confirm_data parameter of the activation view is a plugin setting.
Account creation with FC means no password.
Define a registration frontend and manage account creation with FC data (fixes #10621).
The registration frontend is used when the user is not logged locally
not with FC. The login template provide a link to the FC login view and
then to the plugin registration view.
If the user is already logged with FC, the login template provide a link
to the plugin registration view.
Historique
Mis à jour par Benjamin Dauvergne il y a environ 8 ans
Y a un détail que je ne comprends pas, c'est le valid_email = False. Dans mon idée on devrait faire confiance à France Connect sur ce point, non ? On permet simplement aux gens de fournir un email différent qui sera alors validé à l'étape du formulaire d'enregistrement (et c'est la que sert le confirm_data
notamment).
Mis à jour par Mikaël Ates il y a environ 8 ans
- Fichier 0001-Define-a-registration-frontend-and-manage-account-cr.patch 0001-Define-a-registration-frontend-and-manage-account-cr.patch ajouté
valid_email=False va ajouter le champs email au form de la completion view. C'est effectivement confirm_data qui affichera ou non ce formulaire et donc le champs est dans le formulaire au cas confirm_data soit à vrai.
Au passage, nouveau patch suite à la correction sur #10526.
Mis à jour par Mikaël Ates il y a environ 8 ans
- Fichier
0001-Define-a-registration-frontend-and-manage-account-cr.patchsupprimé
Mis à jour par Mikaël Ates il y a environ 8 ans
- Statut changé de Nouveau à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit authentic2-auth-fc|07a621c291af34bf4a6f2691e74624e4ea76e7da.
Mis à jour par Mikaël Ates il y a environ 8 ans
Appliqué par commit authentic2-auth-fc|b9899c719a732ea6497a6f5596def36acf1354ef.
Mis à jour par Benjamin Dauvergne il y a plus de 7 ans
- Statut changé de Résolu (à déployer) à Fermé
Add a registration view (fixes #10621).