add fxa_required option

This commit is contained in:
Danny Coates 2020-07-24 10:06:27 -07:00
parent 9891d1f0ba
commit 17057e725d
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
7 changed files with 20 additions and 3 deletions

View file

@ -155,6 +155,11 @@ const conf = convict({
default: `${tmpdir()}${path.sep}send-${randomBytes(4).toString('hex')}`,
env: 'FILE_DIR'
},
fxa_required: {
format: Boolean,
default: true,
env: 'FXA_REQUIRED'
},
fxa_url: {
format: 'url',
default: 'http://localhost:3030',