• 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
/is-v2.js
1
// TODO: Delete this file – obsolete after Refresh V1 launch and legacy site retired
2

3
'use strict'
4

5
const path = require('path')
×
6
require('dotenv').config({ path: path.join(__dirname, '.env') })
×
7

8
if (process.env.MONITOR_V2 !== 'true') {
×
9
  console.log('MONITOR_V2 is false or undefined. Starting Monitor v1')
×
10
  process.exit(128)
×
11
}
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