Added session purge, email templates, email sending, and fixed user bugs

This commit is contained in:
Johnathon Slightham
2021-05-05 02:25:30 -04:00
parent c2ecd89ab0
commit 2ff2689e91
6 changed files with 188 additions and 20 deletions

16
config.js Normal file
View File

@@ -0,0 +1,16 @@
var config = {};
// Mailer settings
config.mail = {};
config.mail.host = "localhost";
config.mail.port = "465";
config.mail.secure = false;
config.mail.user = "username";
config.mail.pass = "pass";
config.mail.from = "<noreply@knologic.com>"
// Session purge settings
config.maxSessionLength = 30;
module.exports = config;