aboutsummaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editusers.cgi b/editusers.cgi
index e7ef0e7d3..3db5aef86 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -36,6 +36,7 @@ require "globals.pl";
use Bugzilla;
use Bugzilla::User;
+use Bugzilla::Constants;
# Shut up misguided -w warnings about "used only once". "use vars" just
# doesn't work for me.
@@ -238,8 +239,7 @@ sub PutTrailer (@)
# Preliminary checks:
#
-ConnectToDatabase();
-confirm_login();
+Bugzilla->login(LOGIN_REQUIRED);
print Bugzilla->cgi->header();