X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=config%2Fparameters.js.dist;h=d54dc839748387052e0f6cf0e43eb05dc8a24978;hb=ea8b41a9134cc20f8bd6e70326370319cab851ae;hp=ae0073d91e5de17e6c301dbc6d3d3c7ef0e1d1f7;hpb=e99c53fb3be56eb4c685dd061eef0e5b5bf22b73;p=qomet.git diff --git a/config/parameters.js.dist b/config/parameters.js.dist index ae0073d..d54dc83 100644 --- a/config/parameters.js.dist +++ b/config/parameters.js.dist @@ -1,11 +1,14 @@ -var Parameters = {}; +var Parameters = { }; -// For mail sending. WARNING: *no trailng slash* +// For mail sending. WARNING: *no trailing slash* Parameters.siteURL = "http://localhost"; // Lifespan of a (login) cookie Parameters.cookieExpire = 183*24*3600*1000; //6 months in milliseconds +// Secret string used in monitoring page + review; avoid special URL chars '?' '&' '=' +Parameters.secret = "ImNotSoSecretChangeMe"; + // Characters in a login token, and period of validity (in milliseconds) Parameters.token = { length: 16, @@ -18,7 +21,7 @@ Parameters.whitelist = [ "another.domain.org", ]; -// msmtp account name adn address from, to send (login) emails +// msmtp account name and address from, to send (login) emails Parameters.mail = { account: "msmtpAccount", from: "addressFrom",