plugins/admin/UserManager.php
changeset 591 2529833a7731
parent 573 43e7254afdb4
child 621 68f8a9cc0a18
--- a/plugins/admin/UserManager.php	Mon Jun 30 17:20:02 2008 -0400
+++ b/plugins/admin/UserManager.php	Mon Jun 30 17:22:29 2008 -0400
@@ -147,7 +147,7 @@
           $to_update_users['username'] = $username;
           if ( $password )
           {
-            $password = $aes->encrypt($password, $session->private_key, ENC_HEX);
+            $password = $session->pk_encrypt($password, ENC_HEX);
             $to_update_users['password'] = $password;
           }
           $to_update_users['email'] = $email;