Email change links to 404
supertassu opened this issue · comments
Describe the bug
When a user changes an email, the verification link leads to a 404 page.
To Reproduce
Steps to reproduce the behavior:
- On an existing account, go to https://eventyay.com/account/profile
- Change your email address to something else and submit the form
- Open the email sent to the new address
- Click on the link to verify the email address (
https://eventyay.com/email/verify?token=...
) - Observe a 404 page
Expected behavior
The email address is confirmed and the user sees a message confirming everything went fine.
Stacktrace
Additional details (please complete the following information):
- OS: [e.g. MacOS, Ubuntu, CentOS]
- Python Version [e.g.
3.5
,3.6
] HEAD
Commit hash [e.g.4629c62
]
Additional context
This seems to be coming from here:
open-event-server/app/api/helpers/mail.py
Line 516 in e3e3848
and if I understand https://github.com/fossasia/open-event-frontend/blob/4477d408b27c026ddac6015b17a74a5370914b55/app/router.js#L302 correctly the correct url should be
https://eventyay.com/verify?token=...
Able to repo the issue.
Ubuntu
Python 3.8.17
HEAD = 1f76855
Can I take the issue?
Is this a regression?
@mariobehling Can you please assign this issue to me I would love to work on this
We don't assign issues to external contributors. Please comment that you're working on the issue after checking that no one else is, and then send a pull request for it. Thank You!