Can we pass an email address to /password-reset?

AI-generated summary

In a discussion about enhancing the password reset workflow for Discourse, pfaffman proposes passing an email address to /password-reset to streamline user migration from platforms like Ning, avoiding manual email entry. downey supports this as a useful feature for imported accounts and suggests pre-populating the email field via query string. neil confirms this functionality has been available since v1.5 using the format /password-reset?email=hello@example.com. downey thanks neil for the update. The feature enables smoother onboarding by allowing pre-filled password reset links in welcome emails, improving user experience during migration.

Continuing the discussion from Reset password URL is /password-reset:

I’m working with someone moving over from Ning and am trying to minimize the pain of joining a new forum. I’m elated to find /password-reset, but it’d be even better if I could pass an email address to it.

What I want to do is send the “Trusted user, test the new site” email with a link to reset their password without them having to type it in (because they’ll do it wrong). I don’t want to just send them the new password links until they have read the informative email explaining what this new site and password are about.

It looks like that model is a POST, so it seems I can’t do what I want, but I’m hoping I’m wrong.

2 лайка

This sounds like a great part of a workflow when migrating to Discourse from another system where accounts are created/imported, but no password yet set.

Even just passing an email address in the URI query string, and pre-populating the textfield if it exists, would be a nice touch.

1 лайк

Available since v1.5:

/password-reset?email=hello@example.com

8 лайков

Awesome, thank you for that update!

1 лайк