diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index 51b823d..f60f809 100644 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -58,6 +58,8 @@ class UserController implements ISecured $modify->fill($user->toArray()); $modify->save(); + $this->request->session()->set('user', $user); + $data = ['success' => true]; return new JsonContent($data); }