From 7e26fa0cd6712964505c7ad137571fd420d8fb81 Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Mon, 8 Oct 2018 00:19:26 +0200 Subject: [PATCH] doorlockd: remove superfluous code No more users, drop it. Signed-off-by: Ralf Ramsauer --- doorlockd | 5 ----- doorlockd.cfg | 1 - 2 files changed, 6 deletions(-) diff --git a/doorlockd b/doorlockd index 5718f1c..b674346 100755 --- a/doorlockd +++ b/doorlockd @@ -60,11 +60,6 @@ date_fmt = '%Y-%m-%d %H:%M:%S' log_fmt = '%(asctime)-15s %(levelname)-8s %(message)s' log = logging.getLogger() -default_ldap_uri = 'ldaps://ldap1.binary.kitchen/ ' \ - 'ldaps://ldap2.binary.kitchen/ ' \ - 'ldaps://ldapm.binary.kitchen/' -default_binddn = 'cn=%s,ou=people,dc=binary-kitchen,dc=de' - webapp = Flask(__name__, template_folder=template_folder, static_folder=static_folder) diff --git a/doorlockd.cfg b/doorlockd.cfg index 6a511ab..4f54c24 100644 --- a/doorlockd.cfg +++ b/doorlockd.cfg @@ -3,7 +3,6 @@ SIMULATE_SERIAL = False SIMULATE_LDAP = False RUN_HOOKS = True SOUNDS = True -SECRET_KEY = 'foobar' LDAP_CA = './ssl/BKCA.crt' LDAP_URI = 'ldaps://ldap1.binary.kitchen'