aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/register-server-setting.model.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2019-11-25 11:16:12 +0100
committerChocobozzz <chocobozzz@framasoft.org>2019-11-25 11:16:12 +0100
commitba7b7e572f0634e534320a057f4cc0a95f2a541d (patch)
tree687759585d7c92f865112ca3e920764471603b20 /shared/models/plugins/register-server-setting.model.ts
parentefcd6f2e625c1c5d06025f27a2bf3a84d3f8b483 (diff)
downloadPeerTube-ba7b7e572f0634e534320a057f4cc0a95f2a541d.tar.gz
PeerTube-ba7b7e572f0634e534320a057f4cc0a95f2a541d.tar.zst
PeerTube-ba7b7e572f0634e534320a057f4cc0a95f2a541d.zip
(plugins) adding signup scope and init hook, modifying ensureUserRegistrationAllowed allowedParams
Diffstat (limited to 'shared/models/plugins/register-server-setting.model.ts')
-rw-r--r--shared/models/plugins/register-server-setting.model.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/models/plugins/register-server-setting.model.ts b/shared/models/plugins/register-server-setting.model.ts
index 78c5abd1b..65a181705 100644
--- a/shared/models/plugins/register-server-setting.model.ts
+++ b/shared/models/plugins/register-server-setting.model.ts
@@ -3,7 +3,8 @@ export interface RegisterServerSettingOptions {
3 label: string 3 label: string
4 type: 'input' 4 type: 'input'
5 5
6 // If the setting is not private, anyone can view its value 6 // If the setting is not private, anyone can view its value (client code included)
7 // If the setting is private, only server-side hooks can access it
7 // Mainly used by the PeerTube client to get admin config 8 // Mainly used by the PeerTube client to get admin config
8 private: boolean 9 private: boolean
9 10