[fix] Correct call to tools_adminpw in tools_postinstall

This commit is contained in:
Jérôme Lebleu 2015-01-16 00:51:38 +01:00
parent d5af5ead61
commit 4d7a7a331e

View file

@ -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)