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

vocdoni / saas-backend / 17840288482 / 1
63%
main: 63%

Build:
DEFAULT BRANCH: main
Ran 18 Sep 2025 08:17PM UTC
Files 70
Run time 3s
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

18 Sep 2025 08:14PM UTC coverage: 57.529% (+0.3%) from 57.274%
17840288482.1

push

github

emmdim
feat: implement flexible 2FA authentication with email OR phone support

Database Schema Enhancements:
- Add `LoginHashPhone` and `LoginHashEmail` fields to `CensusParticipant` struct
- Create MongoDB indexes for efficient lookups on `loginHashPhone` and `loginHashEmail`
- Store separate hashes for email-only and phone-only authentication scenarios

Authentication Logic Improvements:
- Implement `CensusParticipantByLoginHashOrEmailorPhone()` method for flexible participant lookup
- Allow authentication with either email OR phone when both are configured as 2FA methods
- Maintain backward compatibility with existing single-method 2FA configurations

5727 of 9955 relevant lines covered (57.53%)

32.98 hits per line

Source Files on job 17840288482.1
  • Tree
  • List 70
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17840288482
  • 5a1ae716 on github
  • Prev Job for on main (#17832191950.1)
  • Next Job for on main (#17856778774.1)
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