@hicoder/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.
27 lines (24 loc) • 779 B
JavaScript
let commonInfo = {
serverUrl: 'http://localhost:3000',
serverUrlPasswordReset: 'http://localhost:3000/auth/reset/',
};
const templates = [
{
templateName: 'Registration Verification',
fromEmail: 'sampleemailxibinliu@gmail.com',
subject: 'Registration Verification',
content: 'Dear {{userName}}<br/>Thanks for registration! Please click the following link to verify your registration: {{link}}.',
tag: 'registrationverification',
},
{
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,
}