-
Notifications
You must be signed in to change notification settings - Fork 481
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
Allowed to log in even before confirming email #17
Comments
@sandlerben, @jondubin: How do people feel about having another decorator like |
Could we create a better version of |
How about we pass an argument into the decorator to indicate whether the acct needs to be confirmed or not? |
That's a good idea. Every endpoint that is login protected should also require confirmation except the confirm account endpoint. |
Is this still an error? I just tried this in my app and the expected behavior is what is happening currently. I think that the following found in app/account/views.py takes care of the issue (or at least it should):
|
It's possible I fixed it without closing the issue. I'll check and update On Sun, Mar 20, 2016, 2:58 AM Abhinav Suri notifications@github.com wrote:
|
permission to close the issue? tested and it seems to be fixed. |
yes this looks fixed! sorry for the delayed response |
Steps to reproduce:
Expected
4. See message that asks to reconfirm email and you are blocked from doing other user things
Actual
4. See message that asks to reconfirm email and you can do other user things
The text was updated successfully, but these errors were encountered: