aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user/insert.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/user/insert.php')
-rw-r--r--admin/user/insert.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/admin/user/insert.php b/admin/user/insert.php
index 81daf98..2d49322 100644
--- a/admin/user/insert.php
+++ b/admin/user/insert.php
@@ -47,18 +47,7 @@ try {
$FormTemplate->set('FORM', [
'TYPE' => 'INSERT',
'INFO' => $messages ?? [],
- 'DATA' => [
- 'ID' => $Attribute->get('id'),
- 'SLUG' => $Attribute->get('slug'),
- 'USERNAME' => $Attribute->get('username'),
- 'PASSWORD' => NULL,
- 'FULLNAME' => $Attribute->get('fullname'),
- 'MAILADDR' => $Attribute->get('mailaddr'),
- 'BODY' => $Attribute->get('body'),
- 'ARGV' => $Attribute->get('argv'),
- '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()
]);