Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"commonFields": {
"optionalAlgorithm": "aes256", //used by hasher
"hashIterations": 12, //used by hasher
"mail": {
"from": 'me@localhost.com',
"transport": {
"type": "sendmail",
"options": {}
}
}
},
"urac": {
"tokenExpiryTTL": 2 * 24 * 3600 * 1000,
"validateJoin": true, //true if registration needs validation
"link": {
"addUser": "http://dashboard.soajs.org/#/setNewPassword",
"changeEmail": "http://dashboard.soajs.org/#/changeEmail/validate",
"forgotPassword": "http://dashboard.soajs.org/#/resetPassword",
"join": "http://dashboard.soajs.org/#/join/validate"
....
},
"mail": { //urac mail options
"join": {
"subject": 'Welcome to SOAJS',
"path": "./mail/urac/join.tmpl"
},
"forgotPassword": {
"subject": 'Reset Your Password at SOAJS',
"path": "./mail/urac/forgotPassword.tmpl"
},
"addUser": {
"subject": 'Account Created at SOAJS',
"path": "./mail/urac/addUser.tmpl"
},
"changeUserStatus": {
"subject": "Account Status changed at SOAJS",
//use custom HTML
"content": "<p>Dear <b>{{ username }}</b>, <br />Your account status has changed to <b>{{ status }}</b> by the administrator on {{ ts|date('F jS, Y') }}.<br /><br /> Regards,<br/> SOAJS Team. </p>"
},
"changeEmail": {
"subject": "Change Account Email at SOAJS",
"path": "./mail/urac/changeEmail.tmpl"
},
....
}
}
} |
Page Comparison
General
Content
Integrations