diff options
Diffstat (limited to 'provider_base')
-rw-r--r-- | provider_base/provider.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/provider_base/provider.json b/provider_base/provider.json index 60ad2a9e..9b6e73ca 100644 --- a/provider_base/provider.json +++ b/provider_base/provider.json @@ -32,7 +32,7 @@ "allow_free": "= provider.service.levels.select {|l| l['rate'].nil?}.any?", "allow_paid": "= provider.service.levels.select {|l| !l['rate'].nil?}.any?", "allow_anonymous": "= provider.service.levels.select {|l| l['name'] == 'anonymous'}.any?", - "allow_registration": "= provider.service.levels.select {|l| l['name'] != 'anonymous'}.any?", + "allow_registration": "= provider.enrollment_policy != 'closed' && provider.service.levels.select {|l| l['name'] != 'anonymous'}.any?", "allow_limited_bandwidth": "= provider.service.levels.select {|l| l['bandwidth'] == 'limited'}.any?", "allow_unlimited_bandwidth": "= provider.service.levels.select {|l| l['bandwidth'].nil?}.any?" }, |