🎨(backend) remove duplicated line of configuration

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!
This commit is contained in:
antoine lebaud
2024-07-03 14:47:02 +02:00
committed by aleb_the_flash
parent 4fe3333eea
commit 84792a7b81

View File

@@ -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`