summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/client/kolab_client_task_user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/client/kolab_client_task_user.php b/lib/client/kolab_client_task_user.php
index c7497a0..4807e70 100644
--- a/lib/client/kolab_client_task_user.php
+++ b/lib/client/kolab_client_task_user.php
@@ -286,7 +286,7 @@ class kolab_client_task_user extends kolab_client_task
'description' => 'user.password.desc',
'type' => kolab_form::INPUT_TEXT,
'maxlength' => 50,
- 'required' => true,
+ 'required' => $new ? true : false,
'system' => true,
),
'userpassword2' => array(
@@ -294,7 +294,7 @@ class kolab_client_task_user extends kolab_client_task
'description' => 'user.password-confirm.desc',
'type' => kolab_form::INPUT_TEXT,
'maxlength' => 50,
- 'required' => true,
+ 'required' => $new ? true : false,
'system' => true,
),
'kolabhomeserver' => array(