aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ws.php2
1 files changed, 2 insertions, 0 deletions
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),
),
'<b>Admin & POST only.</b> Registers a new user.',
null,