X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fvalidate_password.html;h=6aada2fee54f3d9ba16d1dc1132282c40fdaf2b9;hb=9cb0274535a95a45a8f5796c8edafefb074f57c8;hp=f067ad8fce4fbc040460d1710148f753a1fb87da;hpb=9d0796956b83a47a3258e1d388289f6b59f7444d;p=freeside.git
diff --git a/httemplate/elements/validate_password.html b/httemplate/elements/validate_password.html
index f067ad8fc..6aada2fee 100644
--- a/httemplate/elements/validate_password.html
+++ b/httemplate/elements/validate_password.html
@@ -5,9 +5,8 @@ To validate passwords via javascript/xmlhttp:
<& '/elements/validate_password.html',
- fieldid => 'password_field',
- svcnum => $svcnum,
- pkgnum => $pkgnum, # used if the service doesn't exist yet
+ fieldid => 'password_field',
+ svcnum => $svcnum
&>
The ID of the input field can be anything; the ID of the DIV in which to display results
@@ -15,46 +14,10 @@ should be the input id plus '_result'.
%doc>
-<& '/elements/xmlhttp.html',
- 'url' => $p.'misc/xmlhttp-validate_password.html',
- 'subs' => [ 'validate_password' ],
- 'method' => 'POST', # important not to put passwords in url
-&>
+<& '/elements/validate_password_js.html', %opt &>
+
<%init>