liquid_feedback_frontend

diff app/main/_filter/21_auth.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 a0b791073159
children 446d2798f424
line diff
     1.1 --- a/app/main/_filter/21_auth.lua	Sun Feb 14 13:29:56 2021 +0100
     1.2 +++ b/app/main/_filter/21_auth.lua	Sun Feb 14 13:35:16 2021 +0100
     1.3 @@ -5,8 +5,7 @@
     1.4  local auth_needed = true
     1.5  
     1.6  if module == 'index' and (
     1.7 -     view == 'index'
     1.8 -  or view   == "login"
     1.9 +     view   == "login"
    1.10    or action == "login"
    1.11    or view   == "register"
    1.12    or action == "register"

Impressum / About Us