diff options
author | bbaetz%student.usyd.edu.au <> | 2002-06-17 18:38:56 +0200 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-06-17 18:38:56 +0200 |
commit | 70eb21091d161fe0325000af992f6f398683c92a (patch) | |
tree | f76e853435c05bbb3d88b56c174faa54ae7828f6 /createaccount.cgi | |
parent | 89aebbf6bf7cf73f9ae51d295aee68205c68e731 (diff) | |
download | bugzilla-70eb21091d161fe0325000af992f6f398683c92a.tar.gz bugzilla-70eb21091d161fe0325000af992f6f398683c92a.tar.xz |
Bug 151053, ConnectToDatabase/quietly_check_login sometimes not called
early enough
r=mattyt, jouni
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-x | createaccount.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/createaccount.cgi b/createaccount.cgi index ff07da782..577ab8dba 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -42,6 +42,9 @@ ConnectToDatabase(); # If we're using LDAP for login, then we can't create a new account here. 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"); |