Pārlūkot izejas kodu

[mod] reduce cookie expirity time - fixes #204

Adam Tauber 10 gadus atpakaļ
vecāks
revīzija
bac98a02cb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      searx/webapp.py

+ 1
- 1
searx/webapp.py Parādīt failu

@@ -91,7 +91,7 @@ for indice, theme in enumerate(themes):
91 91
     for (dirpath, dirnames, filenames) in os.walk(theme_img_path):
92 92
         global_favicons[indice].extend(filenames)
93 93
 
94
-cookie_max_age = 60 * 60 * 24 * 365 * 23  # 23 years
94
+cookie_max_age = 60 * 60 * 24 * 365 * 5  # 5 years
95 95
 
96 96
 
97 97
 @babel.localeselector