UNPKG

mdds-mongoose-express-auth-server

Version:

Model Driver Development Stack - authentication and authorization server for mongoose and express based application. It can be enabled to work as authentication, user profile managment, and authorization management servers.

20 lines (17 loc) 462 B
let commonInfo = { serverUrl: 'http://localhost:3000', serverUrlPasswordReset: 'http://localhost:3000/auth/reset/', }; const templates = [ { templateName: 'Reset Password', fromEmail: 'sampleemailxibinliu@gmail.com', subject: 'Reset Password', content: 'Dear {{userName}}<br/>Please reset your password following the instructions in this link: {{link}}.', tag: 'resetpassword', }, ]; module.exports = { commonInfo, templates, }