mirror of https://github.com/jumpserver/jumpserver
perf: add leak password db config
parent
2ca0e9a5a2
commit
47b72cb35e
|
@ -13,11 +13,11 @@ import json
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
import sys
|
||||||
import types
|
import types
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
from urllib.parse import urljoin, urlparse, quote
|
from urllib.parse import urljoin, urlparse, quote
|
||||||
|
|
||||||
import sys
|
|
||||||
import yaml
|
import yaml
|
||||||
from django.urls import reverse_lazy
|
from django.urls import reverse_lazy
|
||||||
from django.utils.translation import gettext_lazy as _
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
@ -698,6 +698,7 @@ class Config(dict):
|
||||||
'FILE_UPLOAD_SIZE_LIMIT_MB': 200,
|
'FILE_UPLOAD_SIZE_LIMIT_MB': 200,
|
||||||
|
|
||||||
'TICKET_APPLY_ASSET_SCOPE': 'all',
|
'TICKET_APPLY_ASSET_SCOPE': 'all',
|
||||||
|
'LEAK_PASSWORD_DB_PATH': os.path.join(PROJECT_DIR, 'data', 'leak_password.db'),
|
||||||
|
|
||||||
# Ansible Receptor
|
# Ansible Receptor
|
||||||
'RECEPTOR_ENABLED': False,
|
'RECEPTOR_ENABLED': False,
|
||||||
|
|
Loading…
Reference in New Issue