summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/controllers')
-rw-r--r--application/modules/user/controllers/PersonController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/modules/user/controllers/PersonController.php b/application/modules/user/controllers/PersonController.php
index 5e01049..168add9 100644
--- a/application/modules/user/controllers/PersonController.php
+++ b/application/modules/user/controllers/PersonController.php
@@ -211,7 +211,7 @@ class user_PersonController extends Zend_Controller_Action
if($_POST['newpassword'] != '') {
$this->person->setPassword($_POST['newpassword']);
$this->person->setPasswordSalt(MD5(microtime(true)));
- $this->person->setLoginPassword(crypt($person->getPassword(), '$6$'.randomString(8).'$'));
+ $this->person->setLoginPassword(crypt($this->person->getPassword(), '$6$'.randomString(8).'$'));
$this->person->setPassword(MD5($this->person->getPassword() . $this->person->getPasswordSalt()));
}
try {