Remove password hash from return data

This commit is contained in:
BitHeaven 2024-08-09 22:32:02 +05:00
parent 913db80c30
commit cbd55cec2d
1 changed files with 7 additions and 1 deletions

View File

@ -15,7 +15,13 @@
else {
$data = [
'error' => false,
'data' => $user,
'data' => [
'id' => $user->id,
'login' => $user->login,
'info' => $user->info,
'reg_dt' => $user->reg_dt,
'online_dt' => $user->online_dt,
],
];
}
}