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:
commit
95eb956403
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user