Renders the reset of a forgotten password, both its steps on one page: the request for a link by email, which "Forgot password?" on the login page leads to, and the new password, which the link leads to.

Functions

f
ResetPassword(): React.JSX.Element

Renders /reset-password, for anyone: the request for a reset link, or, with the link's ?token=, the new password. It doesn't sign the user in: a success links to /login.

Usage

import * as mod from "src/pages/ResetPassword.tsx";