From cfd85994ae364f5b7c0c4bc1bf30d3485e748a08 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 9 Feb 2016 10:57:08 -0800 Subject: Revert "make password-insecure option work when adding a new svc_acct, #40236" This reverts commit a19a04f0b684c64039c03216d398af534c858bf9. - password-insecure option is 3.x only. --- httemplate/elements/validate_password.html | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'httemplate/elements') diff --git a/httemplate/elements/validate_password.html b/httemplate/elements/validate_password.html index f067ad8fc..a488c4f16 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 @@ -28,10 +27,7 @@ function add_password_validation (fieldid) { var resultfield = document.getElementById(fieldid); if (this.value) { resultfield.innerHTML = 'Validating password...'; - validate_password('fieldid',fieldid, - 'svcnum',<% $opt{'svcnum'} |js_string %>, - 'pkgnum',<% $opt{'pkgnum'} |js_string %>, - 'password',this.value, + validate_password('fieldid',fieldid,'svcnum','<% $opt{'svcnum'} %>','password',this.value, function (result) { result = JSON.parse(result); var resultfield = document.getElementById(result.fieldid); -- cgit v1.2.1