liquid_feedback_frontend
diff app/main/index/index.lua @ 1660:cbce4491c93e
Redirect to login from index page when no access rights
author | bsw |
---|---|
date | Sun Feb 14 13:35:16 2021 +0100 (2021-02-14) |
parents | a3a7120a67be |
children | bca6a066d429 |
line diff
1.1 --- a/app/main/index/index.lua Sun Feb 14 13:29:56 2021 +0100 1.2 +++ b/app/main/index/index.lua Sun Feb 14 13:35:16 2021 +0100 1.3 @@ -1,8 +1,3 @@ 1.4 -if not app.session:has_access("anonymous") then 1.5 - slot.put("<br /> Closed user group, please login.<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />") 1.6 - return 1.7 -end 1.8 - 1.9 local unit_id = request.get_param{ name = "unit" } 1.10 local area_id = request.get_param{ name = "area" } 1.11