This commit is contained in:
Yagami
2020-02-27 15:25:14 +08:00
parent 143d47c4ad
commit f41ce9cdaa
2 changed files with 10 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
$(document).ready(function()
{
$('form #submit').click(function()
{
var password = $('#password1').val().trim();
var passwordStrength = computePasswordStrength(password);
$('form').prepend("<input type='hidden' name='passwordStrength' value=" + passwordStrength + "/>");
});
});
-1
View File
@@ -56,4 +56,3 @@
</div>
<?php endif;?>
<?php include '../../common/view/footer.lite.html.php';?>