Skip to content

Forgot password — Owner / Employee

import { Card, CardGrid, Steps, Aside } from ‘@astrojs/starlight/components’;

The shared Forgot password screen (/forgot-password) is the recovery flow for the dashboard side (i.e. /login for employees and /vendor-login for owners). It exposes an Owner / Staff toggle that pins the request to one vendor type.

Forgot password — default employee

URLBehaviour
/forgot-passwordShows the toggle, defaults to Employee
/forgot-password?type=ownerHides the toggle, pins to Owner
/forgot-password?type=employeeHides the toggle, pins to Employee

Forgot password — employee variant

The cashier-only flow /cashier-login/forgot-password does not have a toggle at all (cashier is the only allowed type there). See Forgot password — Cashier.

1. **Open the screen.** - From `/login` or `/vendor-login`, click the *"Forgot password?"* link next to the sign-in button. - Or open `/forgot-password?type=…` directly.
  1. Pick your vendor type (only if the toggle is shown).

    • Owner → for store accounts.
    • Staff → for employee accounts.
  2. Enter your email and click “Send code”.

    • A 6-digit OTP is emailed to you (valid 10 minutes).
  3. Enter the OTP at /verify-otp (see Verify OTP).

  4. Set a new password at /reset-password (see Reset password).

  5. Sign in again at the original screen (/login or /vendor-login).

BannerMeaningFix
Enter a valid email address.Email format invalidRe-type carefully
This email is not registered as <vendor type>.Email is unknown, or you picked the wrong toggleToggle Owner/Staff, or contact the owner
Too many requests.Rate-limit hitWait 60 seconds