summaryrefslogtreecommitdiffstats
path: root/createaccount.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-10-02 07:41:03 +0200
committergerv%gerv.net <>2002-10-02 07:41:03 +0200
commit60b331bc2a1d89296f5c57df34171db3b3eca409 (patch)
tree241d081fab876eb42f3784ba67819e65662b0467 /createaccount.cgi
parent8d6671f06bf7d6864cffcaccf4ef4b7e09b80675 (diff)
downloadbugzilla-60b331bc2a1d89296f5c57df34171db3b3eca409.tar.gz
bugzilla-60b331bc2a1d89296f5c57df34171db3b3eca409.tar.xz
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