Various fixes

This commit is contained in:
marc
2025-04-04 22:18:49 +02:00
parent 26aa4579b1
commit d5eb40e300
14 changed files with 1135 additions and 101 deletions

View File

@@ -3,8 +3,7 @@ import random
import string
from datetime import timedelta
SESSION_DURATION = timedelta(minutes=30)
SESSION_DURATION = timedelta(minutes=120)
COOKIE_NAME = "nota_folkugat"
COOKIE_MAX_AGE = int(SESSION_DURATION.total_seconds())
ADMIN_PASSWORD = os.getenv("ADMIN_PASSWORD", "hola")