3 // For mail sending. WARNING: *no trailing slash*
4 Parameters.siteURL = "http://localhost";
6 // Lifespan of a (login) cookie
7 Parameters.cookieExpire = 183*24*3600*1000; //6 months in milliseconds
9 // Characters in a login token, and period of validity (in milliseconds)
12 expire: 1000*60*30, //30 minutes in milliseconds
15 // Whitelist of emails (full addresses or suffixes). Leave blank to accept all
16 Parameters.whitelist = [
17 "some.email@some.domain.com",
21 // msmtp account name and address from, to send (login) emails
23 account: "msmtpAccount",
27 // Database settings: see https://docs.mongodb.com/manual/reference/connection-string/
36 module.exports = Parameters;