mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-20 06:12:22 +01:00
feat(core): add configure item to hide count info at home footer for guest user
This commit is contained in:
15
config/env/torrents.js
vendored
15
config/env/torrents.js
vendored
@@ -149,13 +149,14 @@ module.exports = {
|
||||
* user register settings
|
||||
* NOTE: you can change these value at anytime if you understand it
|
||||
*
|
||||
* @openSignup: set whether open the signup, if true, the user can signup(register) by herself,
|
||||
* if you create a private web site, and only accept invite to join, please set it to false.
|
||||
* @signUpActiveTokenExpires: sign up account active expires time setting.
|
||||
* @allowSocialSignin: meanTorrent can accept social account to signin, like google, twitter, facebook etc.
|
||||
* if you do not want them to login, please set it to false
|
||||
* @showMenuHeaderForGuest: set whether show menu header for guest user(not sign in)
|
||||
* @showDemoSignMessage: if true, will show demo sign in message in sign in page, if your site is not demo site, please set it to false
|
||||
* @openSignup: set whether open the signup, if true, the user can signup(register) by herself,
|
||||
* if you create a private web site, and only accept invite to join, please set it to false.
|
||||
* @signUpActiveTokenExpires: sign up account active expires time setting.
|
||||
* @allowSocialSignin: meanTorrent can accept social account to signin, like google, twitter, facebook etc.
|
||||
* if you do not want them to login, please set it to false
|
||||
* @showMenuHeaderForGuest: set whether show menu header for guest user(not sign in)
|
||||
* @showFooterCountInfoForGuest: set whether show count info at home footer for guest user(not sign in)
|
||||
* @showDemoSignMessage: if true, will show demo sign in message in sign in page, if your site is not demo site, please set it to false
|
||||
*/
|
||||
sign: {
|
||||
openSignup: true,
|
||||
|
||||
Reference in New Issue
Block a user