diff --git a/apps/jumpserver/settings.py b/apps/jumpserver/settings.py index b1c4fb3bf..e4a932775 100644 --- a/apps/jumpserver/settings.py +++ b/apps/jumpserver/settings.py @@ -261,10 +261,10 @@ LOGGING = { 'handlers': ['console', 'file'], 'level': "INFO", }, - 'django.db': { - 'handlers': ['console', 'file'], - 'level': 'DEBUG' - } + # 'django.db': { + # 'handlers': ['console', 'file'], + # 'level': 'DEBUG' + # } } } @@ -322,7 +322,6 @@ REST_FRAMEWORK = { 'common.permissions.IsOrgAdmin', ), 'DEFAULT_AUTHENTICATION_CLASSES': ( - 'rest_framework.authentication.BasicAuthentication', 'users.authentication.AccessKeyAuthentication', 'users.authentication.AccessTokenAuthentication', 'users.authentication.PrivateTokenAuthentication', diff --git a/apps/templates/_nav.html b/apps/templates/_nav.html index be9633054..5505b493e 100644 --- a/apps/templates/_nav.html +++ b/apps/templates/_nav.html @@ -80,7 +80,7 @@ {#
  • {% trans 'File download' %}
  • #} {# #} {##} -{% if XPACK_ENABLED %} +{% if XPACK_PLUGINS %}
  • {% trans 'XPack' %}