diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-07-25 20:17:28 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-07-25 20:17:28 +0200 |
commit | 291e8d3eed88fe714fb74ad897ac2c67347a85ff (patch) | |
tree | 20b4f9b8500ab4d9651d2a067fcf2948a6bfc9a4 /client/src/app/core/menu/menu.component.ts | |
parent | 3d09cdbf90902894c841d0a5ddb35eb772c53b8b (diff) | |
download | PeerTube-291e8d3eed88fe714fb74ad897ac2c67347a85ff.tar.gz PeerTube-291e8d3eed88fe714fb74ad897ac2c67347a85ff.tar.zst PeerTube-291e8d3eed88fe714fb74ad897ac2c67347a85ff.zip |
Add ability to limit user registrations
Diffstat (limited to 'client/src/app/core/menu/menu.component.ts')
-rw-r--r-- | client/src/app/core/menu/menu.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/core/menu/menu.component.ts b/client/src/app/core/menu/menu.component.ts index b725f64a7..669fc6572 100644 --- a/client/src/app/core/menu/menu.component.ts +++ b/client/src/app/core/menu/menu.component.ts | |||
@@ -36,8 +36,8 @@ export class MenuComponent implements OnInit { | |||
36 | ) | 36 | ) |
37 | } | 37 | } |
38 | 38 | ||
39 | isRegistrationEnabled () { | 39 | isRegistrationAllowed () { |
40 | return this.configService.getConfig().signup.enabled | 40 | return this.configService.getConfig().signup.allowed |
41 | } | 41 | } |
42 | 42 | ||
43 | isUserAdmin () { | 43 | isUserAdmin () { |