diff options
Diffstat (limited to 'admin/user/delete.php')
-rw-r--r-- | admin/user/delete.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/admin/user/delete.php b/admin/user/delete.php index 7023246..28d1b2a 100644 --- a/admin/user/delete.php +++ b/admin/user/delete.php @@ -36,12 +36,7 @@ try { $FormTemplate->set('FORM', [ 'TYPE' => 'DELETE', 'INFO' => $messages ?? [], - 'DATA' => [ - 'ID' => $Attribute->get('id'), - 'BODY' => $Attribute->get('body'), - 'TIME_INSERT' => $Attribute->get('time_insert'), - 'TIME_UPDATE' => $Attribute->get('time_update'), - ], + 'DATA' => array_change_key_case($Attribute->getAll(['password']), CASE_UPPER), 'TOKEN' => Application::getSecurityToken() ]); |