Add forgot/reset password UI and Resend email config

- Forgot password form in auth modal with email input
- Reset password form handles token from email link
- /reset-password route serves index.html for SPA
- EMAIL_FROM env var in docker-compose
- Success/error feedback for both flows

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
adlee-was-taken
2026-02-21 23:51:58 -05:00
parent 9339abe19c
commit 538ca51ba5
5 changed files with 167 additions and 3 deletions

View File

@@ -768,6 +768,10 @@ if os.path.exists(client_path):
async def serve_replay_page(share_code: str):
return FileResponse(os.path.join(client_path, "index.html"))
@app.get("/reset-password")
async def serve_reset_password_page():
return FileResponse(os.path.join(client_path, "index.html"))
# Mount static files for everything else (JS, CSS, SVG, etc.)
app.mount("/", StaticFiles(directory=client_path), name="static")