liquid_feedback_frontend
diff app/main/index/login.lua @ 813:ea2449916c12
Cleaned up public access levels
| author | bsw |
|---|---|
| date | Fri Jul 06 13:58:20 2012 +0200 (2012-07-06) |
| parents | f52f918b38b8 |
| children | 5a712ec1a7f1 |
line diff
1.1 --- a/app/main/index/login.lua Fri Jul 06 13:34:02 2012 +0200 1.2 +++ b/app/main/index/login.lua Fri Jul 06 13:58:20 2012 +0200 1.3 @@ -20,7 +20,7 @@ 1.4 } 1.5 end 1.6 1.7 -if config.public_access then 1.8 +if app.session:has_access("anonymous") then 1.9 ui.tag{ 1.10 tag = 'p', 1.11 content = _'You need to be logged in, to use all features of this system.'