mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
296 B
17 lines
296 B
6 years ago
|
# -*- 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
|