From b18866077ea586e25bbf1666abd71f8253046b1a Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Tue, 15 Apr 2025 17:51:32 +0900 Subject: [PATCH] Edit user settings class remove password as mandatory --- www/lib/CoreLibs/Output/Form/TableArrays/EditUsers.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/lib/CoreLibs/Output/Form/TableArrays/EditUsers.php b/www/lib/CoreLibs/Output/Form/TableArrays/EditUsers.php index 8761c2d4..fce998ed 100644 --- a/www/lib/CoreLibs/Output/Form/TableArrays/EditUsers.php +++ b/www/lib/CoreLibs/Output/Form/TableArrays/EditUsers.php @@ -50,7 +50,8 @@ class EditUsers implements Interface\TableArraysInterface 'HIDDEN_value' => $_POST['HIDDEN_password'] ?? '', 'CONFIRM_value' => $_POST['CONFIRM_password'] ?? '', 'output_name' => 'Password', - 'mandatory' => 1, + // make it not mandatory to create dummy accounts that can only login via login url id + 'mandatory' => 0, 'type' => 'password', // later has to be password for encryption in database 'update' => [ // connected field updates, and update data 'password_change_date' => [ // db row to update