From 7bdd1cbe564883cd12abee3657e671e97e85a8e5 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Wed, 21 Jul 2004 05:41:18 +0000 Subject: Bug 241900: Allow Bugzilla::Auth to have multiple login and validation styles patch by erik r=joel, kiko a=myk --- createaccount.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'createaccount.cgi') 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(); -- cgit v1.2.3-24-g4f1b