mirror of https://github.com/jumpserver/jumpserver
17 lines
296 B
Python
17 lines
296 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
#
|
||
|
|
||
|
# from django.conf import settings
|
||
|
|
||
|
from .db import AuthBookBackend
|
||
|
# from .vault import VaultBackend
|
||
|
|
||
|
|
||
|
def get_backend():
|
||
|
default_backend = AuthBookBackend
|
||
|
|
||
|
# if settings.BACKEND_ASSET_USER_AUTH_VAULT:
|
||
|
# return VaultBackend
|
||
|
|
||
|
return default_backend
|