]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 987205: Bugzilla crashes because it tries to import a non-exported login_token...
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 14 Apr 2014 19:39:40 +0000 (21:39 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 14 Apr 2014 19:39:40 +0000 (21:39 +0200)
r=dkl a=justdave

Bugzilla/Auth/Login.pm
Bugzilla/Auth/Login/Cookie.pm
Bugzilla/Auth/Persist/Cookie.pm

index f1aad4108cd9a158a6fe7a46ad5eeb229665e10b..290cb42ffd23ece6a7d990b876d2d2e7e74a5e93 100644 (file)
@@ -8,7 +8,7 @@
 package Bugzilla::Auth::Login;
 
 use strict;
-use fields qw(_login_token);
+use fields qw();
 
 # Determines whether or not a user can logout. It's really a subroutine,
 # but we implement it here as a constant. Override it in subclasses if
index 2e31c19d57d82f604fce860a97e5be82b6560167..b20357307732e4f50e0d43f15bb338f96a395e63 100644 (file)
@@ -6,8 +6,11 @@
 # defined by the Mozilla Public License, v. 2.0.
 
 package Bugzilla::Auth::Login::Cookie;
+
 use strict;
+
 use base qw(Bugzilla::Auth::Login);
+use fields qw(_login_token);
 
 use Bugzilla::Constants;
 use Bugzilla::Util;
index 39dae147ddc2e48c0fe1c4458cd955108908aea2..fe37551c9ca3baa85c385299103550229e78d2b5 100644 (file)
@@ -13,8 +13,6 @@ use Bugzilla::Constants;
 use Bugzilla::Util;
 use Bugzilla::Token;
 
-use Bugzilla::Auth::Login::Cookie qw(login_token);
-
 use List::Util qw(first);
 
 sub new {