Skip to content
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

[Users] Confirm registration as a newly registered user #70

Open
4 of 5 tasks
netsensei opened this issue Jun 22, 2018 · 2 comments
Open
4 of 5 tasks

[Users] Confirm registration as a newly registered user #70

netsensei opened this issue Jun 22, 2018 · 2 comments
Milestone

Comments

@netsensei
Copy link
Contributor

netsensei commented Jun 22, 2018

As a newly registered user, I receive a nice e-mail with a one-time login link that allows me to active my profile.

Detailed description

As a newly registered user, I receive an e-mail with a one time login link. When I click on the link, I'm automatically logged in (session initiates) without a password. I'm automatically redirected to the "edit account page" and asked to set a new, strong password.

After saving my user account with a valid password, my account is enabled. (default for newly registered users: disabled)

The contents of the e-mail is set in a view in app/Resources.

Possible implementation

See: https://symfony.com/doc/master/bundles/FOSUserBundle/emails.html

  • When I register as a new user, I'm redirected back to the dashboard page. A flash message will notify me that a one time login link was send to my e-mail
  • When I click as a newly registered user on the link, I'm redirected to the edit page / form of my user profile.
  • When I first set and save a valid password / my account, my account is "enabled" and a flash message is shown saying "You're account is now fully activated."
  • The one time login is only valid for a limited number of hours / days, after which it expires.
  • The request new password link on the login box / page, actually just resends the e-mail with a one-time login to reset the password.
@netsensei netsensei mentioned this issue Jun 22, 2018
11 tasks
@netsensei netsensei added this to the Version 1.0 milestone Sep 14, 2018
@netsensei
Copy link
Contributor Author

This was implemented. But a few things are left to be done before we can close this:

  • Model the confirmation e-mail properly.
  • Redirect the user to the "edit profile" page with the explicit request to set the password.
  • Implement disabled / enabled status of an account based on confirmation.

@netsensei
Copy link
Contributor Author

The last bullet of the previous comment has been implemented. Still two todo's left on this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant