From 26ffbcd21fcfa55262173d3f38eb60643967943b Mon Sep 17 00:00:00 2001 From: NEZRI Ygal Date: Fri, 19 Jul 2024 10:21:51 +0200 Subject: [PATCH] API Key Creation & Management Added functionality for superusers and users to create and manage API keys, with Knox integration for secure key hashing. --- Watcher/Watcher/watcher/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Watcher/Watcher/watcher/settings.py b/Watcher/Watcher/watcher/settings.py index 5af48d2..bcaaa8c 100755 --- a/Watcher/Watcher/watcher/settings.py +++ b/Watcher/Watcher/watcher/settings.py @@ -14,6 +14,7 @@ import ldap from django_auth_ldap.config import LDAPSearch +from datetime import timedelta # LDAP Setup AUTH_LDAP_SERVER_URI = os.environ.get('AUTH_LDAP_SERVER_URI', "")