From 7990f8881b085279269d35cf9dd2787b88ae1c08 Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Tue, 27 Nov 2012 14:47:43 -0500
Subject: [PATCH] Bugfix: _ispconfig_pw_crypted was ignored (stripped off in encoding method)

---
 remoting_client/examples/mail_user_add.php |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/remoting_client/examples/mail_user_add.php b/remoting_client/examples/mail_user_add.php
index 78d640a..1351eef 100644
--- a/remoting_client/examples/mail_user_add.php
+++ b/remoting_client/examples/mail_user_add.php
@@ -18,18 +18,19 @@
 	$client_id = 1;
 	$params = array(
 			'server_id' => 1,
-			'email' => 'hmmnoe@test.int',
+			'email' => 'joe@test.int',
+			'login' => 'joe@test.int',
 			'password' => 'howtoforge',
-			'name' => 'hmmnoe',
+			'name' => 'joe',
 			'uid' => 5000,
 			'gid' => 5000,
-			'maildir' => '',
-			'quota' => 10000000000,
+			'maildir' => '/var/vmail/test.int/joe',
+			'quota' => 5242880,
 			'cc' => '',
-			'homedir' => '',
+			'homedir' => '/var/vmail',
 			'autoresponder' => 'n',
-			'autoresponder_start_date' => '',
-			'autoresponder_end_date' => '',
+			'autoresponder_start_date' => array('day' => 1,'month' => 7, 'year' => 2012, 'hour' => 0, 'minute' => 0),
+			'autoresponder_end_date' => array('day' => 20,'month' => 7, 'year' => 2012, 'hour' => 0, 'minute' => 0),
 			'autoresponder_text' => 'hallo',
 			'move_junk' => 'n',
 			'custom_mailfilter' => 'spam',

--
Gitblit v1.9.1