mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-21 02:20:12 +00:00
Add email-only registration flow (no passkey required) with verification email. For existing unverified users, email is sent before DB token update to preserve the old verification link on failure. - POST /api/register/magic-link endpoint with Zod validation and rate limiting - registerWithMagicLink function in auth.ts with P2002 race condition handling - Frontend "Register with Email" button and JS handler - Export shared VERIFICATION_TOKEN_EXPIRY_MS constant (eliminates duplication) - 8 unit tests covering all paths including email failure cleanup |
||
|---|---|---|
| .. | ||
| app.js | ||
| eu-stars.svg | ||
| index.html | ||
| magic-login-redirect.js | ||
| privacy.template.html | ||
| simplewebauthn-browser.min.js | ||
| style.css | ||
| terms.html | ||