Remove password hash from return data
This commit is contained in:
parent
913db80c30
commit
cbd55cec2d
|
@ -15,7 +15,13 @@
|
||||||
else {
|
else {
|
||||||
$data = [
|
$data = [
|
||||||
'error' => false,
|
'error' => false,
|
||||||
'data' => $user,
|
'data' => [
|
||||||
|
'id' => $user->id,
|
||||||
|
'login' => $user->login,
|
||||||
|
'info' => $user->info,
|
||||||
|
'reg_dt' => $user->reg_dt,
|
||||||
|
'online_dt' => $user->online_dt,
|
||||||
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue