update default configuration file with new attributes and comments

This commit is contained in:
ansuz
2017-05-30 15:35:51 +02:00
parent a70014dd11
commit 605377cf31
3 changed files with 44 additions and 31 deletions

2
rpc.js
View File

@@ -373,7 +373,7 @@ var getHash = function (Env, publicKey, cb) {
// To each key is associated an object containing the 'limit' value and a 'note' explaining that limit
var limits = {};
var updateLimits = function (config, publicKey, cb) {
if (config.adminEmail === false && config.noSubscriptionButton === true) { return; }
if (config.adminEmail === false && config.allowSubscriptions === false) { return; }
if (typeof cb !== "function") { cb = function () {}; }
var defaultLimit = typeof(config.defaultStorageLimit) === 'number'?