Open Naggafin opened 4 months ago
Do you want to take a stab at this? You can compare the templates between allauth and allauth_ui and deduce from there.
I'm guessing the problematic code is here:
I can look into it. Busy schedule but simple enough fix. I'll submit a PR tomorrow.
Oops. Didn't mean to close this
I have the beginnings of a project utilizing django-allauth and django-allauth-ui setup. I have made no modifications to either django-allauth or django-allauth-ui, nor overridden any templates or project files. They're both stock and as-is. When launching my project to test out basic account functionality, I noticed that nothing happens when I log in as a user and go to add an email address for the first time. I set a breakpoint in the allauth email management view to discover the cause, and it appears to be right here:
It appears, when submitting the form to add a new email address, that a required POST field is missing. and it reverts to the default behavior of redirecting to the success url. I would suspect that this behavior is not intended, as the way it stands currently is that it is impossible to add new email addresses. I believe a hidden form field is missing which adds the key being checked for to the POST data.