aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-01-09 15:14:29 +0100
committerChocobozzz <me@florianbigard.com>2019-01-10 11:32:37 +0100
commita4101923e699e49ceb9ff36e971c75417fafc9f0 (patch)
treec098a87ac5a85e1bc7454facbb59ecbd6c7dac82 /config
parent8d00889b6038c38d9c86cbeca88a9f3c23962c48 (diff)
downloadPeerTube-a4101923e699e49ceb9ff36e971c75417fafc9f0.tar.gz
PeerTube-a4101923e699e49ceb9ff36e971c75417fafc9f0.tar.zst
PeerTube-a4101923e699e49ceb9ff36e971c75417fafc9f0.zip
Implement contact form on server side
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml7
-rw-r--r--config/production.yaml.example5
-rw-r--r--config/test.yaml3
3 files changed, 14 insertions, 1 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 5fdb41250..e16b8c352 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -102,7 +102,12 @@ cache:
102 size: 500 # Max number of video captions/subtitles you want to cache 102 size: 500 # Max number of video captions/subtitles you want to cache
103 103
104admin: 104admin:
105 email: 'admin@example.com' # Your personal email as administrator 105 # Used to generate the root user at first startup
106 # And to receive emails from the contact form
107 email: 'admin@example.com'
108
109contact_form:
110 enabled: true
106 111
107signup: 112signup:
108 enabled: false 113 enabled: false
diff --git a/config/production.yaml.example b/config/production.yaml.example
index c0dbf64b6..661eac0d5 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -115,8 +115,13 @@ cache:
115 size: 500 # Max number of video captions/subtitles you want to cache 115 size: 500 # Max number of video captions/subtitles you want to cache
116 116
117admin: 117admin:
118 # Used to generate the root user at first startup
119 # And to receive emails from the contact form
118 email: 'admin@example.com' 120 email: 'admin@example.com'
119 121
122contact_form:
123 enabled: true
124
120signup: 125signup:
121 enabled: false 126 enabled: false
122 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited 127 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
diff --git a/config/test.yaml b/config/test.yaml
index 6e9c56e0a..aba5dd73c 100644
--- a/config/test.yaml
+++ b/config/test.yaml
@@ -21,6 +21,9 @@ smtp:
21log: 21log:
22 level: 'debug' 22 level: 'debug'
23 23
24contact_form:
25 enabled: true
26
24redundancy: 27redundancy:
25 videos: 28 videos:
26 check_interval: '10 minutes' 29 check_interval: '10 minutes'