This is an automated email from the ASF dual-hosted git repository. Aman-Mittal pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/fineract-backoffice-ui.git
commit 3f62c080f170c64befe719df89bf49b5c1bc34c6 Merge: e5252f0 e3cf28f Author: Aman-Mittal <[email protected]> AuthorDate: Sun Aug 16 16:22:55 2026 +0530 Merge pull request #372 from Aman-Mittal/feat/two-factor-authentication feat(auth): ask for the second factor when Fineract requires one .github/workflows/e2e.yml | 70 +++++ DOCS/TWO-FACTOR.md | 119 ++++++++ deploy/docker-compose-e2e-2fa.yml | 49 +++ e2e/two-factor-authentication.spec.ts | 283 +++++++++++++++++ e2e/two-factor-backend.spec.ts | 113 +++++++ e2e/utils/mailpit.ts | 68 +++++ e2e/utils/settled-route.ts | 6 +- package.json | 2 + playwright.config.ts | 19 +- scripts/e2e-stack-2fa.sh | 79 +++++ security.md | 7 +- src/app/core/interceptors/auth.interceptor.spec.ts | 62 +++- src/app/core/interceptors/auth.interceptor.ts | 18 +- src/app/core/services/auth.service.spec.ts | 101 +++++++ src/app/core/services/auth.service.ts | 90 +++++- src/app/core/services/two-factor.service.ts | 106 +++++++ src/app/features/login/login.component.spec.ts | 9 +- src/app/features/login/login.component.ts | 207 +++++++------ .../two-factor/two-factor-step.component.spec.ts | 230 ++++++++++++++ .../login/two-factor/two-factor-step.component.ts | 335 +++++++++++++++++++++ src/assets/i18n/en.json | 14 + src/assets/i18n/hi.json | 16 + src/assets/i18n/ko.json | 16 + 23 files changed, 1919 insertions(+), 100 deletions(-)
