mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-07 17:22:01 +02:00
feat(templates): new configure item for banned user`s inviter
This commit is contained in:
4
config/env/torrents.js
vendored
4
config/env/torrents.js
vendored
@@ -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
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user