Browse Source

[mod] reduce cookie expirity time - fixes #204

Adam Tauber 10 years ago
parent
commit
bac98a02cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/webapp.py

+ 1 - 1
searx/webapp.py

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