Explorar o código

Merge pull request #43 from ParsePlatform/no-master-key

Remove default master key
Fosco Marotto %!s(int64=9) %!d(string=hai) anos
pai
achega
7107a9e2e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -14,7 +14,7 @@ var api = new ParseServer({
   databaseURI: databaseUri || 'mongodb://localhost:27017/dev',
   cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
   appId: process.env.APP_ID || 'myAppId',
-  masterKey: process.env.MASTER_KEY || 'myMasterKey'
+  masterKey: process.env.MASTER_KEY || '' //Add your master key here. Keep it secret!
 });
 // Client-keys like the javascript key or the .NET key are not necessary with parse-server
 // If you wish you require them, you can set them as options in the initialization above: