Procházet zdrojové kódy

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

Remove default master key
Fosco Marotto před 9 roky
rodič
revize
7107a9e2e4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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: