summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-18 06:19:40 +0100
committerAndrew Dolgov <[email protected]>2006-05-18 06:19:40 +0100
commit64dc59764acc25f478651836d2a58cc4ed1b6b8a (patch)
tree1bb063720ebfa3d4ff75ceb149a7685697d5c9e3 /backend.php
parente5d758e3db48bd8613771d9c139de5017f1d7194 (diff)
validate password in prefs form
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 051a5f670..a1ddf5b81 100644
--- a/backend.php
+++ b/backend.php
@@ -3183,7 +3183,7 @@
print "</form>";
- print "<form action=\"backend.php\" method=\"POST\">";
+ print "<form action=\"backend.php\" method=\"POST\" name=\"changePassForm\">";
print "<table width=\"100%\" class=\"prefPrefsList\">";
print "<tr><td colspan='3'><h3>Authentication</h3></tr></td>";
@@ -3202,6 +3202,7 @@
print "<input type=\"hidden\" name=\"op\" value=\"pref-prefs\">";
print "<p><input class=\"button\" type=\"submit\"
+ onclick=\"return validateNewPassword(this.form)\"
value=\"Change password\" name=\"subop\">";
print "</form>";