mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Implemented configurable minimum signup age
Implements https://github.com/Chocobozzz/PeerTube/issues/3612 Fixed lint and removed debug Fixed another lint error Apply suggestions from code review Co-authored-by: Chocobozzz <chocobozzz@cpy.re> Add tests for min signup age config
This commit is contained in:
parent
f22e0e2c19
commit
1f256e7d3c
21 changed files with 55 additions and 11 deletions
|
@ -216,6 +216,7 @@ class ServerConfigManager {
|
|||
const signup = {
|
||||
allowed,
|
||||
allowedForCurrentIP,
|
||||
minimumAge: CONFIG.SIGNUP.MINIMUM_AGE,
|
||||
requiresEmailVerification: CONFIG.SIGNUP.REQUIRES_EMAIL_VERIFICATION
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue