From df6718f3f868b226328ff292f2b5d13f054850ea Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 30 Oct 2013 12:54:46 +0000 Subject: feature 1668, user manager redesign: ability to add a new user (call to pwg.users.add through AJAX) Move the "send connection settings" code to function register_user (avoid code duplication). git-svn-id: http://piwigo.org/svn/trunk@25237 68402e56-0260-453c-a942-63ccdbb3a9ee --- ws.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ws.php') diff --git a/ws.php b/ws.php index f60203762..d55f9d900 100644 --- a/ws.php +++ b/ws.php @@ -826,7 +826,9 @@ function ws_addDefaultMethods( $arr ) array( 'username' => array(), 'password' => array('default'=>null), + 'password_confirm' => array('flags'=>WS_PARAM_OPTIONAL), 'email' => array('default'=>null), + 'send_password_by_mail' => array('default'=>false, 'type'=>WS_TYPE_BOOL), ), 'Admin & POST only. Registers a new user.', null, -- cgit v1.2.3