# HG changeset patch # User bsw # Date 1603904512 -3600 # Node ID 282c46bccb7a4e4aea701cf5d15b356d899f8daa # Parent dac776cd0a7f3014bd69bbb755ccdee22b932431# Parent e670b2c341e65f0ca298b26a3c98a85f6ef06e8e merge diff -r dac776cd0a7f -r 282c46bccb7a app/main/_filter/20_session.lua --- a/app/main/_filter/20_session.lua Tue Oct 27 12:35:39 2020 +0100 +++ b/app/main/_filter/20_session.lua Wed Oct 28 18:01:52 2020 +0100 @@ -51,7 +51,7 @@ if not app.session then app.session = Session:new() - if need_session then + if need_session and not cors_request then app.session:set_cookie() end end