summaryrefslogtreecommitdiffstats
path: root/swat
diff options
context:
space:
mode:
Diffstat (limited to 'swat')
-rw-r--r--swat/install/provision.esp2
1 files changed, 2 insertions, 0 deletions
diff --git a/swat/install/provision.esp b/swat/install/provision.esp
index de823ddcde1..5f91451cbc3 100644
--- a/swat/install/provision.esp
+++ b/swat/install/provision.esp
@@ -58,6 +58,8 @@ if (form['submit'] == "Provision") {
} else if (subobj.ADMINPASS == "") {
write("<h3>You must choose an administrator password. Please try again.</h3>");
f.display();
+ } else if (!provision_validate(subobj, writefln)) {
+ f.display();
} else {
provision(subobj, writefln, false, provision_default_paths(subobj));
}