summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Constants.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-10-06 15:30:18 +0200
committermkanat%bugzilla.org <>2006-10-06 15:30:18 +0200
commitfaa0b904d0ec18b72e8e848783e52296306890dc (patch)
tree3a592a75b7f9d6a3a2c169ef1c23278ada4ca4eb /Bugzilla/WebService/Constants.pm
parentce0b20a534cc5e4906bceb529e9e925207087604 (diff)
downloadbugzilla-faa0b904d0ec18b72e8e848783e52296306890dc.tar.gz
bugzilla-faa0b904d0ec18b72e8e848783e52296306890dc.tar.xz
Bug 350232: Allow the Webservice interface to create User Accounts
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=Wurblzap, a=justdave
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rwxr-xr-xBugzilla/WebService/Constants.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm
index f9728e246..ba26f3bfa 100755
--- a/Bugzilla/WebService/Constants.pm
+++ b/Bugzilla/WebService/Constants.pm
@@ -58,6 +58,12 @@ use constant WS_ERROR_CODE => {
account_disabled => 301,
auth_invalid_email => 302,
extern_id_conflict => -303,
+
+ # User errors are 500-600.
+ account_exists => 500,
+ illegal_email_address => 501,
+ password_too_short => 502,
+ password_too_long => 503,
};
# These are the fallback defaults for errors not in ERROR_CODE.