Commit f5421b8a authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 987205: Bugzilla crashes because it tries to import a non-exported…

Bug 987205: Bugzilla crashes because it tries to import a non-exported login_token() subroutine from Bugzilla::Auth::Login::Cookie r=dkl a=justdave
parent df8716aa
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
package Bugzilla::Auth::Login; package Bugzilla::Auth::Login;
use strict; use strict;
use fields qw(_login_token); use fields qw();
# Determines whether or not a user can logout. It's really a subroutine, # 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 # but we implement it here as a constant. Override it in subclasses if
......
...@@ -6,8 +6,11 @@ ...@@ -6,8 +6,11 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Auth::Login::Cookie; package Bugzilla::Auth::Login::Cookie;
use strict; use strict;
use base qw(Bugzilla::Auth::Login); use base qw(Bugzilla::Auth::Login);
use fields qw(_login_token);
use Bugzilla::Constants; use Bugzilla::Constants;
use Bugzilla::Util; use Bugzilla::Util;
......
...@@ -13,8 +13,6 @@ use Bugzilla::Constants; ...@@ -13,8 +13,6 @@ use Bugzilla::Constants;
use Bugzilla::Util; use Bugzilla::Util;
use Bugzilla::Token; use Bugzilla::Token;
use Bugzilla::Auth::Login::Cookie qw(login_token);
use List::Util qw(first); use List::Util qw(first);
sub new { sub new {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment