aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2004-07-21 05:41:18 +0000
committerbugreport%peshkin.net <>2004-07-21 05:41:18 +0000
commit7bdd1cbe564883cd12abee3657e671e97e85a8e5 (patch)
tree06dd7387c408735c32fa425489ace9a50115dd5d /createaccount.cgi
parentBug 245272: Add per-chart negation to boolean searches (diff)
downloadbugzilla-7bdd1cbe564883cd12abee3657e671e97e85a8e5.tar.gz
bugzilla-7bdd1cbe564883cd12abee3657e671e97e85a8e5.tar.bz2
bugzilla-7bdd1cbe564883cd12abee3657e671e97e85a8e5.zip
Bug 241900: Allow Bugzilla::Auth to have multiple login and validation styles
patch by erik r=joel, kiko a=myk
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-xcreateaccount.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/createaccount.cgi b/createaccount.cgi
index 6364e20bc..2447c1117 100755
--- a/createaccount.cgi
+++ b/createaccount.cgi
@@ -37,7 +37,7 @@ use vars qw(
);
# If we're using LDAP for login, then we can't create a new account here.
-unless (Bugzilla::Auth->can_edit) {
+unless (Bugzilla::Auth->can_edit('new')) {
# Just in case someone already has an account, let them get the correct
# footer on the error message
Bugzilla->login();