Send the email login link to the entered email address (not to the Primary email)

I had the opportunity today to watch several of my users attempt to login to our site. Several forgot their passwords, and attempted to use the email login link:

However, the expected email link never arrived. On further investigation, it was sent to their primary email, while they used a secondary email to attempt to login.

While I can understand the primary email being used in almost all cases in Discourse (which is why it is ‘primary’), this is a little different as the user actually inputs an email address - and naturally expects the link to be sent to that address.

To repro:

  1. Ensure you have a secondary email on your account
  2. Open an incognito browser session with your site
  3. Enter your secondary email into the email field on the login page
  4. Click Skip the password; email me a login link that appears
  5. Go hunt for the email, which is not in your secondary email’s inbox
3 Likes

That seems like a reasonable expectation!

1 Like

I like this request, but it feels like a member-experience feature request vs a bug.

Current behavior is confusing but deliberate.

Agree it makes sense to try to send the email to the thing you entered. (also to add on to this, skip normalization in this case and send to exact +address that you put in.

1 Like