Skip to content
Snippets Groups Projects
Commit 199903f5 authored by James Smith's avatar James Smith
Browse files

added timed logout based on innactivity. logs cookies on all activity, logs...

added timed logout based on innactivity. logs cookies on all activity, logs out if cookie reaches 300s of innactivity
parent 4436d703
No related branches found
No related tags found
No related merge requests found
......@@ -1337,3 +1337,6 @@ Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/django/template/base.py", line 555, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 268: 'endblock', expected 'elif', 'else' or 'endif'. Did you forget to register or load this tag?
Watching for file changes with StatReloader
/usr/src/app/myproject/settings.py changed, reloading.
Watching for file changes with StatReloader
......@@ -175,6 +175,8 @@ IMAGE_URL = 'static/src/images/'
LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/'
SESSION_COOKIE_AGE = 300
SESSION_SAVE_EVERY_REQUEST = True
#PayPal API settings
PAYPAL_MODE = 'sandbox'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment