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:
parent
3d09cdbf90
commit
291e8d3eed
15 changed files with 97 additions and 41 deletions
|
@ -36,8 +36,8 @@ export class MenuComponent implements OnInit {
|
|||
)
|
||||
}
|
||||
|
||||
isRegistrationEnabled () {
|
||||
return this.configService.getConfig().signup.enabled
|
||||
isRegistrationAllowed () {
|
||||
return this.configService.getConfig().signup.allowed
|
||||
}
|
||||
|
||||
isUserAdmin () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue