Fix profile update - missing parameter in function call.

Fixes #629
Fixes #590
Fixes #591
This commit is contained in:
Stefan 2014-10-20 11:54:35 +02:00 committed by Dan Cryer
parent aaee9686dd
commit a2493bff3d

View file

@ -64,7 +64,7 @@ class UserController extends Controller
$email = $this->getParam('email', null);
$password = $this->getParam('password', null);
$_SESSION['user'] = $this->userService->updateUser($name, $email, $password);
$_SESSION['user'] = $this->userService->updateUser($user, $name, $email, $password);
}
$form = new Form();