diff --git a/Watcher/Watcher/watcher/settings.py b/Watcher/Watcher/watcher/settings.py index bcaaa8c..f8b3036 100755 --- a/Watcher/Watcher/watcher/settings.py +++ b/Watcher/Watcher/watcher/settings.py @@ -14,7 +14,6 @@ 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', "") @@ -150,11 +149,6 @@ ('knox.auth.TokenAuthentication',) } -REST_KNOX = { - 'SECURE_HASH_ALGORITHM': 'cryptography.hazmat.primitives.hashes.SHA3_512', - 'TOKEN_TTL': timedelta(hours=10), -} - MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', @@ -240,4 +234,4 @@ # https://docs.djangoproject.com/en/1.11/howto/static-files/ STATIC_URL = '/static/' -STATIC_ROOT = os.path.join(BASE_DIR, 'static') +STATIC_ROOT = os.path.join(BASE_DIR, 'static') \ No newline at end of file