In this support thread, Pad_Pors reports that when users attempt to change their email on their Discourse forum, the automated confirmation link sent to them — formatted as test.com/users/authorize-email/some-string — leads to a “page doesn’t exist” error. In contrast, the correct link format (as seen on meta.discourse.org) is test.com/u/confirm-new-email/some-string. Manually editing the link resolves the issue, but Pad_Pors seeks a way to fix it via the admin panel. JimPas misunderstands the issue, suggesting the manual email change process, but Pad_Pors clarifies that the problem lies in the automated confirmation link. maiki suspects it’s a bug, and simon identifies the root cause: a previously customized email template (user_notifications.confirm_new_email) that references an outdated URL path. Simon links to a solution post explaining how to update the template. Pad_Pors thanks Simon, acknowledging the fix was unexpected but effective.
in our forum when a user wants to change his email, the link sent to him redirects him to the “this page doesn’t exist” page. I have checked the email-changing process here in meta, and things were fine. the difference was:
in our forum, the link is something like: test.com/users/authorize-email/some-string
while in meta, the link is something like: test.com/u/confirm-new-email/some-string
if one changes the link (sent by our forum) like this: substitute /user/authorize-email/ with /u/confirm-new-email/, then the link works properly and let the user change his email.
but how can we tune the link from the admin panel, so that it does direct users to the right address?
If a user wants to change their email address, they simply have to go to their user preference (clicking on their avatar and then preferences), click the edit pencil after their existing email address, change their email address to their new one, and click Save Changes.