Open quinone opened 1 month ago
This seems to be related to this piece of code I am not sure why is duplicated. I changed it to 5 mins (as per code below) in my lab and it seems to work but I have not committed this or pushed to the branch yet :
app.secret_key = "super secret key" # secret key for captcha
app.config["PERMANENT_SESSION_LIFETIME"] = timedelta(minutes=5)
# Define session timeout duration in seconds
SESSION_TIMEOUT = 300
# Set the session lifetime
app.config["PERMANENT_SESSION_LIFETIME"] = timedelta(minutes=5)
Not sure if it is fully broken or just that the expiry is actually working. If it is that the expiry is working can we change the default to something longer for the development side.