aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-10-02 05:41:03 +0000
committergerv%gerv.net <>2002-10-02 05:41:03 +0000
commit60b331bc2a1d89296f5c57df34171db3b3eca409 (patch)
tree241d081fab876eb42f3784ba67819e65662b0467 /createaccount.cgi
parentBug 170903 - Remove hard-coded titles and things. Patch by gerv; r=bbaetz. (diff)
downloadbugzilla-60b331bc2a1d89296f5c57df34171db3b3eca409.tar.gz
bugzilla-60b331bc2a1d89296f5c57df34171db3b3eca409.tar.bz2
bugzilla-60b331bc2a1d89296f5c57df34171db3b3eca409.zip
Bug 163114 - Templatise all calls to DisplayError. Patch C. Patch by gerv; r=burnus.
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-xcreateaccount.cgi6
1 files changed, 1 insertions, 5 deletions
diff --git a/createaccount.cgi b/createaccount.cgi
index 13256f47b..37776a780 100755
--- a/createaccount.cgi
+++ b/createaccount.cgi
@@ -44,11 +44,7 @@ if(Param('useLDAP')) {
# Just in case someone already has an account, let them get the correct
# footer on the error message
quietly_check_login();
- DisplayError("This site is using LDAP for authentication. Please contact
- an LDAP administrator to get a new account created.",
- "Can't create LDAP accounts");
- PutFooter();
- exit;
+ ThrowUserError("ldap_cant_create_account");
}
# Clear out the login cookies. Make people log in again if they create an