diff options
Diffstat (limited to 'client/src/app/menu/menu.component.ts')
-rw-r--r-- | client/src/app/menu/menu.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/menu/menu.component.ts b/client/src/app/menu/menu.component.ts index 4c35bb3a5..69216e215 100644 --- a/client/src/app/menu/menu.component.ts +++ b/client/src/app/menu/menu.component.ts | |||
@@ -52,7 +52,8 @@ export class MenuComponent implements OnInit { | |||
52 | } | 52 | } |
53 | 53 | ||
54 | isRegistrationAllowed () { | 54 | isRegistrationAllowed () { |
55 | return this.serverService.getConfig().signup.allowed | 55 | return this.serverService.getConfig().signup.allowed && |
56 | this.serverService.getConfig().signup.allowedForCurrentIP | ||
56 | } | 57 | } |
57 | 58 | ||
58 | getFirstAdminRightAvailable () { | 59 | getFirstAdminRightAvailable () { |