Forgot Password Flow
Esta página aún no está disponible en tu idioma.
LaunchFast uses in house simple as heck server-side first forgot password flow to help users easily reset their password.
You can configure it in the
src/pages/api/sign
directory. You can configure it in the
src/routes/api/sign
directory. - Update the
.env
file or hosting provider’s environment variable to have the necessary variables for Upstash:
EMAIL_PASSWORD_RESET_URL="https://launchfast-astro-ts.vercel.app/forgot-password"
- To simply allow users reset their password, import the
<ForgotPassword />
component in your Astro page.
---import ForgotPasswordComponent from '@/components/Forgot-Password.astro'---
<html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> </head> <body> <ForgotPasswordComponent /> </body></html>
<script> import ForgotPasswordComponent from '@/components/Forgot-Password.svelte'</script>
<ForgotPasswordComponent />