diff options
author | David Lawrence <dkl@mozilla.com> | 2014-11-14 20:45:46 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2014-11-14 20:45:46 +0100 |
commit | 987611195db12b9c42cdfdbb383811f99322cdd7 (patch) | |
tree | 5c4fe3e26f87b225753a9c70892416fe514e07e7 /Bugzilla/Auth/Persist | |
parent | ae3093fa0de16ffd653f8c4c55e4311e9264ab08 (diff) | |
download | bugzilla-987611195db12b9c42cdfdbb383811f99322cdd7.tar.gz bugzilla-987611195db12b9c42cdfdbb383811f99322cdd7.tar.xz |
Bug 1097813: backport upstream bug 1001462 to bmo/4.2 to fix issue with using tokens with webservice rest api
Diffstat (limited to 'Bugzilla/Auth/Persist')
-rw-r--r-- | Bugzilla/Auth/Persist/Cookie.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Auth/Persist/Cookie.pm b/Bugzilla/Auth/Persist/Cookie.pm index c1d133772..a064a231a 100644 --- a/Bugzilla/Auth/Persist/Cookie.pm +++ b/Bugzilla/Auth/Persist/Cookie.pm @@ -36,8 +36,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 { @@ -102,6 +100,8 @@ sub persist_login { $cgi->send_cookie(-name => 'Bugzilla_logincookie', -value => $login_cookie, %cookieargs); + + return $login_cookie; } sub logout { |