Fix LDAP authenticator after backup

This commit is contained in:
Josué Tille 2018-12-07 23:14:57 +01:00
parent 03b1a2867c
commit 1f13676d06

View file

@ -19,8 +19,10 @@ maindomain = _get_maindomain()
def setup_function(function):
pass
# For some reason the nginx reload can take some time to propagate
time.sleep(1)
global auth
auth = init_authenticator(AUTH_IDENTIFIER, AUTH_PARAMETERS)
def teardown_function(function):
app_remove(auth, "change_url_app")