]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/plugins/register-server-setting.model.ts
(plugins) adding signup scope and init hook, modifying ensureUserRegistrationAllowed...
[github/Chocobozzz/PeerTube.git] / shared / models / plugins / register-server-setting.model.ts
index 78c5abd1bca0dad23f8bb8e54d066fff5a2a788f..65a1817054664e84e8e6b930373d131b99a4c406 100644 (file)
@@ -3,7 +3,8 @@ export interface RegisterServerSettingOptions {
   label: string
   type: 'input'
 
-  // If the setting is not private, anyone can view its value
+  // If the setting is not private, anyone can view its value (client code included)
+  // If the setting is private, only server-side hooks can access it
   // Mainly used by the PeerTube client to get admin config
   private: boolean