summaryrefslogtreecommitdiff
path: root/config/defaults.yml
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-04-17 19:27:47 +0200
committerAzul <azul@leap.se>2014-04-17 19:27:47 +0200
commit7a9ece43bd61246b450471ed6bb1089570321e38 (patch)
treea20362ee5512e160498902ef7c0a094b3135201d /config/defaults.yml
parent614745c84cab37dd03f2bd8f06160fd01c7fabdb (diff)
make use of the UnauthorizedUser
Null Pattern for current_user - use it to get rid of some conditionals
Diffstat (limited to 'config/defaults.yml')
-rw-r--r--config/defaults.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/config/defaults.yml b/config/defaults.yml
index 47c3ad7..383aa1c 100644
--- a/config/defaults.yml
+++ b/config/defaults.yml
@@ -7,11 +7,6 @@ cert_options: &cert_options
client_cert_lifespan: 2
client_cert_bit_size: 2024
client_cert_hash: "SHA256"
- allow_limited_certs: false
- allow_unlimited_certs: true
- allow_anonymous_certs: false
- limited_cert_prefix: "LIMITED"
- unlimited_cert_prefix: "UNLIMITED"
downloads: &downloads
client_download_domain: https://dl.bitmask.net
@@ -53,12 +48,17 @@ service_levels: &service_levels
name: anonymous
cert_prefix: "LIMITED"
description: "anonymous account, with rate limited VPN"
+ services:
+ - eip
1:
name: free
cert_prefix: "LIMITED"
description: "free account, with rate limited VPN"
cost: 0
quota: 100
+ services:
+ - eip
+ - email
2:
name: premium
cert_prefix: "UNLIMITED"
@@ -66,6 +66,9 @@ service_levels: &service_levels
cost:
USD: 10
EUR: 10
+ services:
+ - eip
+ - email
default_service_level: 1
unauthenticated_service_level: 0