1
0
Fork 0
peertube/config/test.yaml
Josh Morel d9eaee3939 add user account email verificiation (#977)
* add user account email verificiation

includes server and client code to:

* enable verificationRequired via custom config
* send verification email with registration
* ask for verification email
* verify via email
* prevent login if not verified and required
* conditional client links to ask for new verification email

* allow login for verified=null

these are users created when verification not required
should still be able to login when verification is enabled

* refactor email verifcation pr

* change naming from verified to emailVerified
* change naming from askVerifyEmail to askSendVerifyEmail
* undo unrelated automatic prettier formatting on api/config
* use redirectService for home
* remove redundant success notification on email verified

* revert test.yaml smpt host
2018-08-31 09:18:19 +02:00

52 lines
No EOL
664 B
YAML

listen:
listen: '0.0.0.0'
port: 9000
webserver:
https: false
database:
hostname: 'localhost'
port: 5432
smtp:
hostname: null
port: 1025
tls: false
disable_starttls: true
from_address: 'test-admin@localhost'
username: null
password: null
log:
level: 'debug'
cache:
previews:
size: 1
captions:
size: 1
signup:
enabled: true
requires_email_verification: false
transcoding:
enabled: true
threads: 2
resolutions:
240p: true
360p: true
480p: true
720p: true
1080p: true
import:
videos:
http:
enabled: true
torrent:
enabled: true
instance:
default_nsfw_policy: 'display'