summaryrefslogtreecommitdiff
path: root/modules/user/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-02-02 21:36:01 -0800
committerBharat Mediratta <bharat@menalto.com>2010-02-02 21:36:01 -0800
commit6e1b761b12e13566875804c33efe2ae130ffa32e (patch)
treed16f4efd3696349f22c83e880cbd65a1754cdb56 /modules/user/views
parentb351ee48fe09efd570e22a02b82174c39ad86d46 (diff)
Require the current password to change your password.
Fixes ticket #585. Separate out the password change form from the regular edit user form. Require the old password to enter a new one. While I'm at it, roll the password strength javascript into a Form_Script element so that we can get rid of the old view (which incidentally fixes a bug where the password strength meter would go away on form errors).
Diffstat (limited to 'modules/user/views')
-rw-r--r--modules/user/views/user_form.html.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/user/views/user_form.html.php b/modules/user/views/user_form.html.php
deleted file mode 100644
index 4ce2b532..00000000
--- a/modules/user/views/user_form.html.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php defined("SYSPATH") or die("No direct script access.") ?>
-<script type="text/javascript">
- $("form").ready(function(){
- $('input[name="password"]').user_password_strength();
- });
-</script>
-<?= $form ?>