Treat TOTP and Passkey as alternative enrolled factors across login and sensitive account operations. Gate every primary login transport before issuing a session, require WebAuthn user verification, and consume login challenges atomically with session creation. Reuse the shared verification UI for login, 2FA management, and account deletion. Require scoped, single-use deletion proof; recheck the session inside the deletion transaction and revoke all sessions afterward. Validation: controller/service/model/middleware tests; real SQLite 3.50.4, MySQL 8.4.11, and PostgreSQL 16.15 security regressions; frontend tests, TypeScript, targeted lint, formatting, and production build. Deploy the frontend and all backend nodes together. No schema changes.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| __tests__ | Loading commit data... | |
| admin-permissions.ts | Loading commit data... | |
| api.ts | Loading commit data... | |
| auth-session-sync.ts | Loading commit data... | |
| auth-session.test.ts | Loading commit data... | |
| auth-session.ts | Loading commit data... | |
| avatar.ts | Loading commit data... | |
| build-metadata.ts | Loading commit data... | |
| channel-connection-info.ts | Loading commit data... | |
| colors.ts | Loading commit data... | |
| constants.ts | Loading commit data... | |
| content-format.ts | Loading commit data... | |
| cookies.ts | Loading commit data... | |
| copy-to-clipboard.ts | Loading commit data... | |
| currency.ts | Loading commit data... | |
| dayjs.ts | Loading commit data... | |
| dom-utils.ts | Loading commit data... | |
| format.ts | Loading commit data... | |
| frontend-cache.ts | Loading commit data... | |
| handle-server-error.ts | Loading commit data... | |
| http-client.ts | Loading commit data... | |
| http-status-code-rules.ts | Loading commit data... | |
| legacy-route.test.ts | Loading commit data... | |
| legacy-route.ts | Loading commit data... | |
| lobe-icon.tsx | Loading commit data... | |
| localized-text.ts | Loading commit data... | |
| motion.ts | Loading commit data... | |
| nav-modules.ts | Loading commit data... | |
| oauth.ts | Loading commit data... | |
| passkey.ts | Loading commit data... | |
| password-policy.ts | Loading commit data... | |
| roles.ts | Loading commit data... | |
| secure-verification.ts | Loading commit data... | |
| server-error-message.test.ts | Loading commit data... | |
| server-error-message.ts | Loading commit data... | |
| session-hint.ts | Loading commit data... | |
| show-submitted-data.tsx | Loading commit data... | |
| theme-customization.ts | Loading commit data... | |
| theme-radius.ts | Loading commit data... | |
| time.ts | Loading commit data... | |
| use-chart-theme.ts | Loading commit data... | |
| use-controllable-state.ts | Loading commit data... | |
| utils.ts | Loading commit data... | |
| vchart.ts | Loading commit data... |