From 0375336c45591cb3354daafa2be5fdf8e905a3ea Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Sat, 21 Nov 2015 01:54:21 -0600 Subject: RT#29354: Password Security in Email [v3 merge] --- httemplate/elements/validate_password.html | 58 ++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 httemplate/elements/validate_password.html (limited to 'httemplate/elements/validate_password.html') diff --git a/httemplate/elements/validate_password.html b/httemplate/elements/validate_password.html new file mode 100644 index 000000000..fd2cb6ca0 --- /dev/null +++ b/httemplate/elements/validate_password.html @@ -0,0 +1,58 @@ +<%doc> + +To validate passwords via javascript/xmlhttp: + + +
+ <& '/elements/validate_password.html', + fieldid => 'password_field', + svcnum => $svcnum + &> + +The ID of the input field can be anything; the ID of the DIV in which to display results +should be the input id plus '_result'. + + + +<& '/elements/xmlhttp.html', + 'url' => $p.'misc/xmlhttp-validate_password.html', + 'subs' => [ 'validate_password' ], + 'method' => 'POST', # important not to put passwords in url +&> + + +<%init> +my %opt = @_; + + + -- cgit v1.2.1