feat(auth): add 2FA with OTP, backup codes and trusted devices

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-02-24 17:25:00 +00:00
parent b001b94e37
commit 1839285ac3
26 changed files with 2402 additions and 312 deletions

3
.gitignore vendored
View File

@@ -531,6 +531,9 @@ backend/data/receipts/uploads/*
backend/data/ocr_queue/
!backend/data/*/.gitkeep
# Auth trusted devices (conține date sensibile — nu commita!)
data/auth/trusted_devices.json
# PRD tasks (generated, not tracked)
tasks/