summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index a219d5bde..0ce152e48 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -368,6 +368,9 @@ sub login {
return $class->user if $class->user->id;
+ # Load all extensions here if not running under mod_perl
+ $class->extensions unless $ENV{MOD_PERL};
+
my $authorizer = new Bugzilla::Auth();
$type = LOGIN_REQUIRED if $class->cgi->param('GoAheadAndLogIn');