diff options
author | gerv%gerv.net <> | 2002-10-02 05:41:03 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2002-10-02 05:41:03 +0000 |
commit | 60b331bc2a1d89296f5c57df34171db3b3eca409 (patch) | |
tree | 241d081fab876eb42f3784ba67819e65662b0467 /createaccount.cgi | |
parent | 8d6671f06bf7d6864cffcaccf4ef4b7e09b80675 (diff) | |
download | bugs-60b331bc2a1d89296f5c57df34171db3b3eca409.tar bugs-60b331bc2a1d89296f5c57df34171db3b3eca409.tar.gz bugs-60b331bc2a1d89296f5c57df34171db3b3eca409.tar.bz2 bugs-60b331bc2a1d89296f5c57df34171db3b3eca409.tar.xz bugs-60b331bc2a1d89296f5c57df34171db3b3eca409.zip |
Bug 163114 - Templatise all calls to DisplayError. Patch C. Patch by gerv; r=burnus.
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-x | createaccount.cgi | 6 |
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 |