X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=config%2Fdefault.yaml;h=37059e9e01cafdcd6ff84c86e5a75d4a708c9943;hb=f6c787fbfad399bb0d472587c7a2a07a9f677e3c;hp=20094ae8fce9cdc7a975361b3ef2005ac7f59ca3;hpb=8180f60477e99c4fd70ce25729d1ca65155a6686;p=github%2FChocobozzz%2FPeerTube.git diff --git a/config/default.yaml b/config/default.yaml index 20094ae8f..37059e9e0 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -37,6 +37,11 @@ rates_limit: window: 10 minutes max: 10 +oauth2: + token_lifetime: + access_token: '1 day' + refresh_token: '2 weeks' + # Proxies to trust to get real client IP # If you run PeerTube just behind a local proxy (nginx), keep 'loopback' # If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet) @@ -377,9 +382,15 @@ contact_form: signup: enabled: false + limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited + minimum_age: 16 # Used to configure the signup form + + # Users fill a form to register so moderators can accept/reject the registration + requires_approval: true requires_email_verification: false + filters: cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist whitelist: []