mirror of https://github.com/snachodog/mybuddy.git
Fix formatting
This commit is contained in:
parent
6acadcb11b
commit
8716a3108a
|
@ -268,7 +268,9 @@ if os.environ.get("SECURE_PROXY_SSL_HEADER"):
|
|||
|
||||
# https://docs.djangoproject.com/en/4.0/topics/http/sessions/#settings
|
||||
SESSION_COOKIE_HTTPONLY = True
|
||||
SESSION_COOKIE_SECURE = bool(strtobool(os.environ.get("SESSION_COOKIE_SECURE") or "False"))
|
||||
SESSION_COOKIE_SECURE = bool(
|
||||
strtobool(os.environ.get("SESSION_COOKIE_SECURE") or "False")
|
||||
)
|
||||
|
||||
# https://docs.djangoproject.com/en/4.0/ref/csrf/#settings
|
||||
CSRF_COOKIE_HTTPONLY = True
|
||||
|
|
Loading…
Reference in New Issue