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

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 Likes

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 Like

Available since v1.5:

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

8 Likes

Awesome, thank you for that update!

1 Like