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

mozilla / blurts-server / e167d181-a7f4-4d07-93f9-fe22e604cc50

pending completion
e167d181-a7f4-4d07-93f9-fe22e604cc50

Pull #2765

circleci

GitHub
Merge branch 'MNTOR-983-settings-v2-frontend' into MNTOR-983-settings-v2-frontend-additions
Pull Request #2765: Settings page layout (MNTOR-983)

282 of 1212 branches covered (23.27%)

Branch coverage included in aggregate %.

133 of 133 new or added lines in 8 files covered. (100.0%)

959 of 3252 relevant lines covered (29.49%)

4.75 hits per line

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

0.0
/src/utils/csrf.js
1
import { doubleCsrf } from 'csrf-csrf'
2
import * as AppConstants from '../app-constants.js'
3

4
// defaults to ignore GET, HEAD, OPTIONS
5
const { doubleCsrfProtection, generateToken } = doubleCsrf({
×
6
  getSecret: () => AppConstants.CSRF_SECRET,
×
7
  cookieName: 'monitor.x-csrf-token'
8
})
9

10
export {
11
  doubleCsrfProtection,
12
  generateToken
13
}
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