• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

GrottoCenter / grottocenter-api / 26345101095
87%
develop: 87%

Build:
Build:
LAST BUILD BRANCH: feat/admin-security-hardening
DEFAULT BRANCH: develop
Ran 23 May 2026 10:24PM UTC
Jobs 1
Files 394
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 May 2026 10:21PM UTC coverage: 87.168% (+0.1%) from 87.055%
26345101095

Pull #1609

github

ClemRz
feat(auth): harden admin account security with TOTP MFA and brute-force protection

- Reduce admin token TTL to 10 days (non-admin remains 90 days)
- Add mandatory TOTP-based MFA with enrollment, verification, and reset endpoints
- Apply stricter rate limiting for admin login (5 req / 15 min / IP)
- Ban admin accounts after 5 consecutive failed logins or TOTP attempts
- Send email notifications on suspicious login activity and account ban
- Revoke all admin tokens on password change
- Update Swagger documentation with new MFA endpoints and login statuses
Pull Request #1609: feat(auth): harden admin account security with TOTP MFA and brute-force protection

3385 of 4037 branches covered (83.85%)

Branch coverage included in aggregate %.

209 of 223 new or added lines in 10 files covered. (93.72%)

2 existing lines in 2 files now uncovered.

6798 of 7645 relevant lines covered (88.92%)

57.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
89.0
api/services/MfaService.js
3
88.0
6.75% api/controllers/v1/auth/login.js
2
92.48
1.66% config/http.js
1
89.47
api/controllers/v1/mfa/enroll.js
1
89.66
api/controllers/v1/mfa/reset.js
1
85.71
api/controllers/v1/mfa/verify.js
1
88.1
api/services/AdminLoginProtectionService.js

Coverage Regressions

Lines Coverage ∆ File
1
88.0
6.75% api/controllers/v1/auth/login.js
1
92.48
1.66% config/http.js
Jobs
ID Job ID Ran Files Coverage
1 26345101095.1 23 May 2026 10:24PM UTC 394
87.17
GitHub Action Run
Source Files on build 26345101095
  • Tree
  • List 394
  • Changed 11
  • Source Changed 9
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26345101095
  • Pull Request #1609
  • PR Base - develop (#26316304342)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc