Browse Source

changed default config to have accounts disabled

Danny Coates 6 years ago
parent
commit
b61bf3c867
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package.json
  2. 1 1
      server/config.js

+ 1 - 1
package.json

@@ -28,7 +28,7 @@
     "test:frontend": "cross-env NODE_ENV=development node test/frontend/runner.js && nyc report --reporter=html",
     "test-integration": "docker-compose up --abort-on-container-exit --exit-code-from integration-tests --build --remove-orphans --quiet-pull && docker-compose down",
     "test-integration-stage": "cross-env BASE_URL=https://send.stage.mozaws.net npm run test-integration",
-    "start": "npm run clean && cross-env NODE_ENV=development BASE_URL=http://localhost:8080 webpack-dev-server --mode=development",
+    "start": "npm run clean && cross-env NODE_ENV=development FXA_CLIENT_ID=fced6b5e3f4c66b9 BASE_URL=http://localhost:8080 webpack-dev-server --mode=development",
     "prod": "node server/bin/prod.js"
   },
   "lint-staged": {

+ 1 - 1
server/config.js

@@ -132,7 +132,7 @@ const conf = convict({
   },
   fxa_client_id: {
     format: String,
-    default: 'fced6b5e3f4c66b9', // localhost
+    default: '', // disabled
     env: 'FXA_CLIENT_ID'
   }
 });