-
Notifications
You must be signed in to change notification settings - Fork 188
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
Force new users to confirm email before allowing them to log in #296
base: master
Are you sure you want to change the base?
Conversation
Any comments on this? What do you think about it? |
I like this idea. |
I like this one too. In fact I'm kind of need this feature for a site I'm writing. Would be nice to have this one in the next release. |
Are you planning to add this to the main branch? |
this part of code: Accounts.validateLoginAttempt (attempt) -> shows an error when an user tried to register, but the user get registered anyway. this happens with accounts-entry since it tries to login straight away automatically after registration |
removed dependency to underscore string
This PR will enable guest on the website to register for new user accounts and have them redirected to a "check your email" page (instead of directly logged in).
Only after they confirmed the email address by clicking on the link sent via email they are able to log in.
I hope this is in a condition for you to use. If you need anything else, please let me know.
Best,
Gerwin
I assume that mail sending is set up correctly.
Settings on the client:
Setting you need to set on the server only:
Routes you may need:
(Be aware that you have to also create the templates (not shown here).