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.pm | |
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.pm')
-rw-r--r-- | Bugzilla/Auth.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm index 2c58b52a8..9f4fb8fa3 100644 --- a/Bugzilla/Auth.pm +++ b/Bugzilla/Auth.pm @@ -168,7 +168,7 @@ sub _handle_login_result { if ($self->{_info_getter}->{successful}->requires_persistence and !Bugzilla->request_cache->{auth_no_automatic_login}) { - $self->{_persister}->persist_login($user); + $user->{_login_token} = $self->{_persister}->persist_login($user); } } elsif ($fail_code == AUTH_ERROR) { |