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

mozilla / blurts-server / #12168

pending completion
#12168

push

circleci

web-flow
MNTOR-1143 - limit how often users can verify email addresses to 5 minutes, with generic rate limiting for all APIs (#2807)

MNTOR-1143 - limit how often users can verify email addresses to 5 minutes
* feat: use a postgres-only knex raw query in order to compare timestamps
on the database side to limit verification email specifically
* feat: add generic rate limiting to prevent excessive use of API generally

282 of 1299 branches covered (21.71%)

Branch coverage included in aggregate %.

14 of 14 new or added lines in 3 files covered. (100.0%)

959 of 3504 relevant lines covered (27.37%)

2.22 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/routes/breach-details.js
1
'use strict'
2

3
const express = require('express')
×
4
const { getBreachDetail } = require('../controllers/breach-details')
×
5
const { asyncMiddleware } = require('../middleware')
×
6

7
const router = express.Router()
×
8

9
router.get('/:breachName', asyncMiddleware(getBreachDetail))
×
10

11
module.exports = router
×
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

© 2025 Coveralls, Inc