Stop printing IPN / LDAP status
This commit is contained in:
parent
ae6f71a236
commit
3d2ddcc206
|
@ -5,9 +5,6 @@ from apiserver import secrets
|
|||
def is_configured():
|
||||
return bool(secrets.LDAP_API_URL and secrets.LDAP_API_KEY)
|
||||
|
||||
if not is_configured:
|
||||
print('LDAP connection not configured.')
|
||||
|
||||
|
||||
def ldap_api(route, data):
|
||||
try:
|
||||
|
|
|
@ -7,7 +7,6 @@ from .api import views
|
|||
from . import secrets
|
||||
|
||||
IPN_ROUTE = r'^ipn/{}/'.format(secrets.IPN_RANDOM)
|
||||
print('IPN route is:', '/'+IPN_ROUTE[1:])
|
||||
|
||||
router = routers.DefaultRouter()
|
||||
router.register(r'door', views.DoorViewSet, basename='door')
|
||||
|
|
Loading…
Reference in New Issue
Block a user