liquid_feedback_frontend

diff app/main/_prefork/10_init.lua @ 1511:f1258993d993

Fixed issue with oauth/session endpoint and samesite cookies
author bsw
date Thu Aug 20 13:44:54 2020 +0200 (2020-08-20)
parents cd497eb8fd73
children 45fd259aa1ad
line diff
     1.1 --- a/app/main/_prefork/10_init.lua	Tue Aug 18 19:54:45 2020 +0200
     1.2 +++ b/app/main/_prefork/10_init.lua	Thu Aug 20 13:44:54 2020 +0200
     1.3 @@ -60,6 +60,14 @@
     1.4    config.check_delegations_default = "confirm"
     1.5  end
     1.6  
     1.7 +if config.cookie_name == nil then
     1.8 +  config.cookie_name = "liquid_feedback_session"
     1.9 +end
    1.10 +
    1.11 +if config.cookie_name_samesite == nil then
    1.12 +  config.cookie_name_samesite = config.cookie_name .. "_samesite"
    1.13 +end
    1.14 +
    1.15  if config.ldap == nil then
    1.16    config.ldap = {}
    1.17  end

Impressum / About Us