# HG changeset patch # User bsw # Date 1603360747 -7200 # Node ID 7e2e6412b40ec727638d5f11034622ecd574cce7 # Parent ae194d0235c236b66f479782954ed2cd80842021 Fixed condition diff -r ae194d0235c2 -r 7e2e6412b40e app/main/_filter/20_session.lua --- a/app/main/_filter/20_session.lua Thu Oct 22 11:57:23 2020 +0200 +++ b/app/main/_filter/20_session.lua Thu Oct 22 11:59:07 2020 +0200 @@ -51,7 +51,7 @@ if not app.session then app.session = Session:new() - if not need_session then + if need_session then app.session:set_cookie() end end