Roughly completed Users logic; untested
[vchess.git] / config / parameters.js.dist
CommitLineData
0bd5933d
BA
1var Parameters = { };
2
3// For mail sending. NOTE: *no trailing slash*
4Parameters.siteURL = "http://localhost:3000";
5
6// Lifespan of a (login) cookie
7Parameters.cookieExpire = 183*24*3600*1000; //6 months in milliseconds
8
9// Characters in a login token, and period of validity (in milliseconds)
10Parameters.token = {
11 length: 16,
12 expire: 1000*60*30, //30 minutes in milliseconds
13};
14
15// Email settings
16Parameters.mail = {
17 host: "mail_host_address",
18 port: 465, //if secure; otherwise use 587
19 secure: true, //...or false
20 user: "mail_user_name",
21 pass: "mail_password",
22 contact: "some_contact_email",
23};
24
25module.exports = Parameters;