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

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

Build:
Build:
LAST BUILD BRANCH: feature/fix-sort-relevance
DEFAULT BRANCH: develop
Ran 27 May 2026 01:07AM 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

27 May 2026 01:05AM UTC coverage: 87.116% (+0.06%) from 87.055%
26484460170

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

3389 of 4045 branches covered (83.78%)

Branch coverage included in aggregate %.

212 of 230 new or added lines in 10 files covered. (92.17%)

4 existing lines in 2 files now uncovered.

6801 of 7652 relevant lines covered (88.88%)

57.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
85.71
4.46% api/controllers/v1/auth/login.js
5
89.0
api/services/MfaService.js
2
81.82
-0.44% api/controllers/v1/account/change-password.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
3
85.71
4.46% api/controllers/v1/auth/login.js
1
92.48
1.66% config/http.js
Jobs
ID Job ID Ran Files Coverage
1 26484460170.1 27 May 2026 01:07AM UTC 394
87.12
GitHub Action Run
Source Files on build 26484460170
  • Tree
  • List 394
  • Changed 11
  • Source Changed 10
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26484460170
  • 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