Merged in bugfix/MAPG-152-save-user-to-session-after-modi (pull request #117)

MAPG-152 save modified user to session
This commit is contained in:
Bence Pőcze 2020-06-18 14:21:23 +00:00
commit 95eb956403

View File

@ -58,6 +58,8 @@ class UserController implements ISecured
$modify->fill($user->toArray()); $modify->fill($user->toArray());
$modify->save(); $modify->save();
$this->request->session()->set('user', $user);
$data = ['success' => true]; $data = ['success' => true];
return new JsonContent($data); return new JsonContent($data);
} }