From 9bcadef5f59e7d4eb7d58cbff5516e9bd45fb426 Mon Sep 17 00:00:00 2001 From: antoine lebaud Date: Wed, 3 Jul 2024 14:47:02 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8(backend)=20remove=20duplicated=20l?= =?UTF-8?q?ine=20of=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Uncommenting the line left the original commented line in place, which was misleading because the comment indicated to comment the next line, which was already commented. Fixed! --- src/backend/meet/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/meet/settings.py b/src/backend/meet/settings.py index 29d5b3c6..94582f68 100755 --- a/src/backend/meet/settings.py +++ b/src/backend/meet/settings.py @@ -536,7 +536,6 @@ class Production(Base): # - Your proxy sets the X-Forwarded-Proto header and sends it to Django # # In other cases, you should comment the following line to avoid security issues. - # SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") # Modern browsers require to have the `secure` attribute on cookies with `Samesite=none`