summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--controllers/UsersController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/UsersController.php b/controllers/UsersController.php
index fdea5f8..3c57b2e 100644
--- a/controllers/UsersController.php
+++ b/controllers/UsersController.php
@@ -170,7 +170,7 @@ class UsersController extends \lithium\action\Controller {
{
$user = Auth::check('default');
if ($user) {
- $user = User::create($user, array('exists' => true));
+ $user = User::find($user['_id']);
$user->post($this->request->data);
}