mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix LDAP authenticator after backup
This commit is contained in:
parent
03b1a2867c
commit
1f13676d06
1 changed files with 4 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue