Commit 0211a9d9 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Oops, forgot to commit this! Do not generate an error if the

user does not change the windows password.
parent f2b6ac7d
......@@ -574,7 +574,8 @@ if (isset($formfields[password1]) &&
}
}
if (isset($formfields[w_password1]) &&
strcmp($formfields[w_password1], "")) {
strcmp($formfields[w_password1], "") &&
$formfields[w_password1] != $defaults[w_password1]) {
if (!isset($formfields[w_password2]) ||
strcmp($formfields[w_password2], "") == 0) {
$errors["Retype Windows Password"] = "Missing Field";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment