From 94330f2052713c24dd6f13131f836b0820f7200e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Thu, 28 May 2020 18:43:31 +0200 Subject: [PATCH] Comment out the COOKIE_SECURE config for now We will enable it again after we have a valid TLS cert generated with Let's Encrypt. It prevents logins using http, and we will need that as an admin account --- site-cookbooks/kosmos_gitea/templates/default/app.ini.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb b/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb index bc783df..4597dcc 100644 --- a/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb +++ b/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb @@ -30,7 +30,8 @@ SSL_MODE = verify-ca [session] PROVIDER = file PROVIDER_CONFIG = sessions -COOKIE_SECURE = true +# Enable when TLS is enabled +# COOKIE_SECURE = true [mailer] ENABLED = true