diff -r 4923c6efe5528e7406f440083e8572cea73e6efc -r 55305a934bac5351244236a2a974672140e7b9a6 indefero/src/IDF/Form/Admin/UserUpdate.php --- a/indefero/src/IDF/Form/Admin/UserUpdate.php Sun Aug 03 17:55:54 2014 -0500 +++ b/indefero/src/IDF/Form/Admin/UserUpdate.php Thu Aug 21 21:58:41 2014 -0500 @@ -315,6 +315,7 @@ if ($password1 != $password2) { throw new Pluf_Form_Invalid(__('The passwords do not match. Please give them again.')); } + $this->cleaned_data["password"] = base64_encode(sha1($this->cleaned_data['password'], true)); } return $this->cleaned_data; } diff -r 4923c6efe5528e7406f440083e8572cea73e6efc -r 55305a934bac5351244236a2a974672140e7b9a6 indefero/src/IDF/Form/UserAccount.php --- a/indefero/src/IDF/Form/UserAccount.php Sun Aug 03 17:55:54 2014 -0500 +++ b/indefero/src/IDF/Form/UserAccount.php Thu Aug 21 21:58:41 2014 -0500 @@ -479,6 +479,7 @@ if ($password1 != $password2) { throw new Pluf_Form_Invalid(__('The passwords do not match. Please give them again.')); } + $this->cleaned_data["password"] = base64_encode(sha1($this->cleaned_data['password'], true)); } return $this->cleaned_data;