summaryrefslogtreecommitdiff
path: root/modules/user/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-27 12:23:48 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-27 12:23:48 -0700
commit1347a300509b2ab3083bb88193987c18b33187ad (patch)
tree739a29a66185b9cbc1263c66434c7cba3b467599 /modules/user/views
parent156a99beef968a22167502bb6389b4df7526feb0 (diff)
Add a password strength meter.
Diffstat (limited to 'modules/user/views')
-rw-r--r--modules/user/views/user_form.html.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/user/views/user_form.html.php b/modules/user/views/user_form.html.php
new file mode 100644
index 00000000..039ae8a5
--- /dev/null
+++ b/modules/user/views/user_form.html.php
@@ -0,0 +1,7 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<script type="text/javascript">
+ $("form").ready(function(){
+ $('input[name="password"]').user_password_strength();
+ });
+</script>
+<?= $form ?>