diff options
Diffstat (limited to 'webapps')
-rw-r--r-- | webapps/install/provision.esp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapps/install/provision.esp b/webapps/install/provision.esp index e4597af1c1..8caa7391b0 100644 --- a/webapps/install/provision.esp +++ b/webapps/install/provision.esp @@ -16,7 +16,6 @@ if (lp.get("realm") == "") { lp.set("realm", lp.get("workgroup") + ".example.com"); } - var subobj = provision_guess(); /* Don't supply default password for web interface */ subobj.ADMINPASS = ""; @@ -47,10 +46,11 @@ for (i=0;i<f.element.length;i++) { } if (form['submit'] == "Provision") { + /* overcome an initially blank smb.conf */ lp.set("realm", subobj.REALM); lp.set("workgroup", subobj.DOMAIN); - lp.reload() + lp.reload(); var goodpass = (subobj.CONFIRM == subobj.ADMINPASS); if (!goodpass) { |