From 3e41c4ce78c70b3199d834fa6b2dc4aca64ec2c8 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Mon, 9 Apr 2018 16:44:27 +0800 Subject: [PATCH] feat(templates): new configure item for banned user`s inviter --- config/env/torrents.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/env/torrents.js b/config/env/torrents.js index 18097325..971adbd3 100644 --- a/config/env/torrents.js +++ b/config/env/torrents.js @@ -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 }, /**