From 028f1d5158d8bc25438d60508a7ba30fd490af89 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 30 Apr 2006 08:06:59 +0000 Subject: [PATCH] r786: Impose noempty restriction on the password field --- includes/api_user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api_user.php b/includes/api_user.php index a1d92b6..371a400 100644 --- a/includes/api_user.php +++ b/includes/api_user.php @@ -42,7 +42,7 @@ class UserAPI extends API 'email' => array(TYPE_STR, REQ_YES, ':self'), 'displayname' => array(TYPE_STR, REQ_YES, ':self'), 'usergroupid' => array(TYPE_UINT, REQ_YES, ':self'), - 'password' => array(TYPE_STR, REQ_YES), + 'password' => array(TYPE_STR, REQ_YES, 'verify_noempty'), 'salt' => array(TYPE_STR, REQ_SET), 'authkey' => array(TYPE_STR, REQ_SET), 'showemail' => array(TYPE_BOOL, REQ_NO), -- 2.22.5