diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-09 15:14:29 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-01-10 11:32:37 +0100 |
commit | a4101923e699e49ceb9ff36e971c75417fafc9f0 (patch) | |
tree | c098a87ac5a85e1bc7454facbb59ecbd6c7dac82 /config | |
parent | 8d00889b6038c38d9c86cbeca88a9f3c23962c48 (diff) | |
download | PeerTube-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.yaml | 7 | ||||
-rw-r--r-- | config/production.yaml.example | 5 | ||||
-rw-r--r-- | config/test.yaml | 3 |
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 | ||
104 | admin: | 104 | admin: |
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 | |||
109 | contact_form: | ||
110 | enabled: true | ||
106 | 111 | ||
107 | signup: | 112 | signup: |
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 | ||
117 | admin: | 117 | admin: |
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 | ||
122 | contact_form: | ||
123 | enabled: true | ||
124 | |||
120 | signup: | 125 | signup: |
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: | |||
21 | log: | 21 | log: |
22 | level: 'debug' | 22 | level: 'debug' |
23 | 23 | ||
24 | contact_form: | ||
25 | enabled: true | ||
26 | |||
24 | redundancy: | 27 | redundancy: |
25 | videos: | 28 | videos: |
26 | check_interval: '10 minutes' | 29 | check_interval: '10 minutes' |