Skip to content

Commit 26fa932

Browse files
committed
Remove default master key
If there is a default master key, people will inevitably use it. And that would be bad.
1 parent 1d4db3c commit 26fa932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

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

0 commit comments

Comments
 (0)