MAPG-152 save modified user to session
This commit is contained in:
parent
efccb2dcc5
commit
3726573f4c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user