aboutsummaryrefslogtreecommitdiff
path: root/go-src/windowsHelpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'go-src/windowsHelpers.go')
-rw-r--r--go-src/windowsHelpers.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/go-src/windowsHelpers.go b/go-src/windowsHelpers.go
index c5845ea..2f63efa 100644
--- a/go-src/windowsHelpers.go
+++ b/go-src/windowsHelpers.go
@@ -179,6 +179,12 @@ func validatedMultiForm(input string, returnWindow window, props ...multiFormPro
var values []string
formWindow(v.editTitle, returnWindow, append(inputs, v.formInp), &values)
+ // This is a huge bodge
+ if !loggedInUser.ValidatePassword(values[0]) {
+ defer showError(invalidValueFor(passwordInName), returnWindow)
+ return
+ }
+
updateSuccessful = v.updateF(values)
if updateSuccessful && v.postSucUpdateF != nil {