Index: mozilla/webtools/bugzilla/createaccount.cgi =================================================================== RCS file: /cvsroot/mozilla/webtools/bugzilla/createaccount.cgi,v retrieving revision 1.54 diff -u -r1.54 mozilla/webtools/bugzilla/createaccount.cgi --- mozilla/webtools/bugzilla/createaccount.cgi +++ mozilla/webtools/bugzilla/createaccount.cgi @@ -64,7 +64,7 @@ $vars->{'login'} = $login; if ($login !~ /$createexp/) { - ThrowUserError("account_creation_disabled"); + ThrowUserError("account_creation_restricted"); } # Create and send a token for this new account. Index: mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl =================================================================== RCS file: /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl,v retrieving revision 1.214 diff -u -r1.214 mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl --- mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl +++ mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl @@ -48,9 +48,18 @@ [% error_message = BLOCK %] [% IF error == "account_creation_disabled" %] [% title = "Account Creation Disabled" %] - User account creation has been disabled or restricted. + User account creation has been disabled.
- New accounts must be created by an administrator. + New accounts must be created by an administrator. The + maintainer is [% Param("maintainer") %]. + + [% ELSIF error == "account_creation_restricted" %] + [% title = "Account Creation Restricted" %] + User account creation has been restricted. +
+ Contact your administrator or the maintainer + ([% Param("maintainer") %]) for information about + creating an account. [% ELSIF error == "account_disabled" %] [% title = "Account Disabled" %]