diff --git a/settings.py b/settings.py index fa5127b30ef95ddb61f3ee355f8429f05cfd271a..45a935791c711194675e4d2eff3a97ace4432888 100644 --- a/settings.py +++ b/settings.py @@ -102,7 +102,7 @@ SESSION_COOKIE_HTTPONLY = True # let's go with one year because that's the way to do it now if (get_from_env('HSTS', '0') == '1'): - SECURE_HSTS_SECONDS = 52 * 3600 * 24 * 7 + SECURE_HSTS_SECONDS = 31536000 # not doing subdomains for now cause that is not likely to be necessary and can screw things up. SECURE_HSTS_INCLUDE_SUBDOMAINS = True