Resetting passwords is broken while signed in

Problem description

Accessing replit.com/forgot causes a redirect to replit.com/~ while signed in

Expected behavior

Not redirect, allow sending a password reset

Actual behavior

Redirects to /~, blocking a password reset

Steps to reproduce

  1. Sign in to Replit
  2. Go to replit.com/forgot
  3. Observe that you got sent to /~

Browser

N/A

OS

N/A

Device if mobile

N/A

Plan

Core

3 Likes

@Firepup650 thanks for the report! The /forgot flow is for users who aren’t authenticated and need a password reset link sent to their email address. If you’re authenticated, you can change your password from the /account page.

2 Likes

Not if you don’t have your password/signed up with GitHub however, correct?

2 Likes

That’s correct, if you haven’t set a password, you’ll need to go through the password reset flow to set one. We can update this so that it can be more easily initiated from the account page.

Which doesn’t make it exactly clear that you have to sign out for that flow to work, hence my bug report