Commit Graph

10 Commits

Author SHA1 Message Date
shuaiplus cdbe87aac2 feat: Implement TOTP-based two-factor authentication
- Added TOTP support for two-factor authentication in user profiles and login flows.
- Introduced device management endpoints to handle known devices and their registration.
- Enhanced database schema to include devices and trusted two-factor tokens.
- Updated response handling to include two-factor token in successful login responses.
- Modified registration and login pages to guide users through enabling TOTP.
- Improved device identification and management utilities for better user experience.
2026-02-20 15:59:55 +08:00
shuaiplus fff2b149e9 fix: enhance cipher handling to support unknown fields and improve database binding 2026-02-17 22:20:01 +08:00
shuaiplus b33ee64c58 Improve API response formatting and structure in handlers 2026-02-11 23:53:36 +08:00
shuaiplus c825280707 fix: allow nullable name fields in user and cipher interfaces for better flexibility 2026-02-11 21:38:54 +08:00
shuaiplus c445714fd5 refactor: update user decryption structure in sync response for consistency 2026-02-10 22:07:34 +08:00
shuaiplus d2ce2aea24 chore: switch storage to D1 (test branch) 2026-02-09 22:00:14 +08:00
shuaiplus 5fc2436552 Refactor JWT_SECRET handling and add setup warning page 2026-02-08 21:27:13 +08:00
shuaiplus ec9d3b889d enhance cipher and identity handling with new fields and rate limit adjustments 2026-02-07 03:48:08 +08:00
shuaiplus ef50f44a4e Enhance UserDecryptionOptions structure for mobile compatibility; add MasterPasswordUnlock interface 2026-02-06 00:12:08 +08:00
shuaiplus da307c79cd Basic success 2026-02-03 22:58:41 +08:00