summaryrefslogtreecommitdiff
path: root/app/models/anonymous_service_level.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-04-18 12:39:27 +0200
committerAzul <azul@leap.se>2014-04-18 12:39:27 +0200
commit966e390d401b84dad98127e647d2ec634f1cbc15 (patch)
tree64ddc12302e0a2bd86a38ce7b0f03658cfe88c89 /app/models/anonymous_service_level.rb
parent9216ab8252246a263c5d17f6755a7d3887145f94 (diff)
bringing back empty cert prefixes
if neither limited nor unlimited certs are allowed there will be no prefix. Not sure if this is desired - but it's the way things used to be before the refactoring
Diffstat (limited to 'app/models/anonymous_service_level.rb')
-rw-r--r--app/models/anonymous_service_level.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/anonymous_service_level.rb b/app/models/anonymous_service_level.rb
index c51ce9e..47b7cfb 100644
--- a/app/models/anonymous_service_level.rb
+++ b/app/models/anonymous_service_level.rb
@@ -5,7 +5,7 @@ class AnonymousServiceLevel
def cert_prefix
if APP_CONFIG[:allow_limited_certs]
APP_CONFIG[:limited_cert_prefix]
- else
+ elsif APP_CONFIG[:allow_unlimited_certs]
APP_CONFIG[:unlimited_cert_prefix]
end
end