Open
Description
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=...