1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Add ability to limit user registrations

This commit is contained in:
Chocobozzz 2017-07-25 20:17:28 +02:00
parent 3d09cdbf90
commit 291e8d3eed
15 changed files with 97 additions and 41 deletions

View file

@ -36,8 +36,8 @@ export class MenuComponent implements OnInit {
)
}
isRegistrationEnabled () {
return this.configService.getConfig().signup.enabled
isRegistrationAllowed () {
return this.configService.getConfig().signup.allowed
}
isUserAdmin () {