-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One-step user registration #260
base: master
Are you sure you want to change the base?
Conversation
- Moves old registration controller inside "registration" package - Creates a new registration controller that creates the User in one step - Creates an action for email verification - Add views for the new actions/emails - Adds methods for new views, in Mailer and TemplatePlugin (without breaking backward compatibilty) - Adds a state field in Identity trait, to hold the state of email verification - Adds configuration options to choose the registration method
Hi @tabdulradi Thanks for your contribution. I did a quick look and would need to see this in more detail but here are my first comments:
|
Thanks for your reply,
|
What do you think now? |
@jaliss are you going to integrate this feature into securesocial in the near future? |
Hi @jaliss . |
Great work all of you! +1 |
+1 for the great works! Is there any conclusion this would eventually be pulled or not? @jaliss I understand that saying the email is taken might leak some user information, but it seems really few sites didn't do that. I feel this feature is essential to have, and it's developer's call to use it or not. by the way, it seems one of the user in list in securesocial's user list, carambla, is using one step registration |
Hi, what about merge? Will you resolve conflicts? |
+1 from my side |
This pull request creates another registration controller, that works in parallel with the old one, without breaking it.
It allows users to register in one step, but marked as non-verified, later they can verify their account by following a link send in a verification email.
These are changes in the code:
I have to note that this feature was implemented by one of our trainees, then reviewed by me.
You can see her original changes here
Todo:
We are planning to change the SecuredAction (or extend it) to take additional parameters, to allow non-verified users in specific pages, or even allow (recent) non-verified users only.