From e8e446df7cb50d59f05e54e83768e46f445127d3 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Wed, 16 Aug 2017 16:16:44 +0800 Subject: [PATCH] fix(core): configure item name from open_signin to open_signup --- README.md | 4 ++-- config/env/torrents.js | 2 +- .../users/client/views/authentication/signup.client.view.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 91bae9c6..0cae1586 100644 --- a/README.md +++ b/README.md @@ -243,7 +243,7 @@ And you can make a list page to tell users witch clients are unpopular. ```javascript sign: { - open_signin: true, + open_signup: true, allow_social_sign: true }, ``` @@ -255,7 +255,7 @@ And you can make a list page to tell users witch clients are unpopular. }, ``` -If your site do not accept user free register, please set `open_signin` to `false`, then user only can register through friend invitation or system(admin/oper) invitation. +If your site do not accept user free register, please set `open_signup` to `false`, then user only can register through friend invitation or system(admin/oper) invitation. if you set `open_invite` to `true`, the normal user can invite friends to join, if `false` only oper/admin can invite users. ```javascript diff --git a/config/env/torrents.js b/config/env/torrents.js index a628506f..5cdedfe5 100644 --- a/config/env/torrents.js +++ b/config/env/torrents.js @@ -39,7 +39,7 @@ module.exports = { encoding: 'UTF-8' }, sign: { - open_signin: true, + open_signup: true, allow_social_sign: false, show_demo_sign_message: true }, diff --git a/modules/users/client/views/authentication/signup.client.view.html b/modules/users/client/views/authentication/signup.client.view.html index 018ddd9b..6b2ac35f 100644 --- a/modules/users/client/views/authentication/signup.client.view.html +++ b/modules/users/client/views/authentication/signup.client.view.html @@ -1,9 +1,9 @@
-
+
-
+
{{ 'SIGN.SIGN_UP' | translate}}