feat(templates): new configure item for banned user`s inviter

This commit is contained in:
OldHawk
2018-04-09 16:44:27 +08:00
parent 93ebfb1085
commit 3e41c4ce78

View File

@@ -270,12 +270,14 @@ module.exports = {
* if user received an invite mail, must signin(register) within the expiration time
* if exceed the expiration time, the invite send qualifications will invalid and user also can not signin(register).
* @expires_str: string desc of @expires
* @banUserInviter: settings whether ban the user`s inviter when a user banned
*/
invite: {
openInvite: true,
scoreExchange: 10000,
expires: 60 * 60 * 1000 * 24,
expires_str: '24h'
expires_str: '24h',
banUserInviter: true
},
/**