summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-04-17 12:06:38 +0200
committerAzul <azul@leap.se>2014-04-17 12:07:13 +0200
commit614745c84cab37dd03f2bd8f06160fd01c7fabdb (patch)
tree4f77bf89513949a99bd3821c856454e3e933d838 /config
parent8cc5ba134f6c5a1a06d91407aa78b962545c54ac (diff)
UnauthenticatedUser as current_user
this still allows us to do current_user.service_level. Have not gone through the rest of the code yet. Only made sure logged_in? now tests for is_a? User instead of !!current_user
Diffstat (limited to 'config')
-rw-r--r--config/defaults.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/defaults.yml b/config/defaults.yml
index e7d0f5e..47c3ad7 100644
--- a/config/defaults.yml
+++ b/config/defaults.yml
@@ -67,6 +67,7 @@ service_levels: &service_levels
USD: 10
EUR: 10
default_service_level: 1
+ unauthenticated_service_level: 0
development:
<<: *downloads