Projet

Général

Profil

Development #10621

Implémentation de la création rapide de compte.

Ajouté par Mikaël Ates il y a environ 8 ans. Mis à jour il y a plus de 7 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
12 avril 2016
Echéance:
% réalisé:

100%

Temps estimé:
Hors marché:
Non
Patch proposed:
Oui
Planning:

Fichiers

Révisions associées

Révision 07a621c2 (diff)
Ajouté par Mikaël Ates il y a environ 8 ans

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.

Révision b9899c71 (diff)
Ajouté par Mikaël Ates il y a environ 8 ans

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.

Révision 32e71fcf (diff)
Ajouté par Mikaël Ates il y a presque 5 ans

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.

Révision e80db269 (diff)
Ajouté par Mikaël Ates il y a presque 5 ans

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

#1

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).

#2

Mis à jour par Mikaël Ates il y a environ 8 ans

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.

#3

Mis à jour par Mikaël Ates il y a environ 8 ans

  • Fichier 0001-Define-a-registration-frontend-and-manage-account-cr.patch supprimé
#4

Mis à jour par Benjamin Dauvergne il y a environ 8 ans

Ack.

#5

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
#7

Mis à jour par Benjamin Dauvergne il y a plus de 7 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF