Users can't edit their email / verification link doesn't work

AI-generated summary

Users and admins are unable to change email addresses due to a broken verification link, resulting in a {page_not_found.title} error when clicking the link. This issue has persisted for over a year on version 2.6.0beta1. The user dpb notes that the email is set to be editable and SSO does not override it, but the verification process fails. simon suggests the problem may be related to email customization, referencing a known issue and fix on the Discourse meta site.

Our users can’t change their email, neither can the admins. The only working way is to hack the change in the database.

We have this issue for well over a year now, currently on 2.6.0beta1.

behaviour

The user changes their email and receives a verification link. But when clicking on this link, they land on an error page stating {page_not_found.title}.

expected behaviour

verification link should actually work

our settings

We use an external SSO. We have the settings email editable = true and sso overrides email = false.

current workaround

Manually hack changes into the database to skip verification.

You might be running into the problem that is described here: Confirmation email link (after change) is broken ("Oops!") due to bad email customization. If that is the problem, the fix for the issue is in this post: Confirmation email link (after change) is broken ("Oops!") due to bad email customization - #5 by gerhard.