diff --git a/tools.py b/tools.py index 173a4fee0..fb09935e9 100644 --- a/tools.py +++ b/tools.py @@ -316,7 +316,7 @@ def tools_postinstall(domain, password, ignore_dyndns=False): app_ssowatconf(auth) # Change LDAP admin password - tools_adminpw(old_password='yunohost', new_password=password) + tools_adminpw(auth, password) # Enable UPnP silently and reload firewall firewall_upnp('enable', no_refresh=True)