summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-10-08 15:53:36 +0200
committerByron Jones <glob@mozilla.com>2015-10-08 15:53:36 +0200
commitbcb6edf34b569d2bb9cb3d2d29981d12fdb6b8dd (patch)
tree7cd536e21121828dc444b44856249f2eb9078919
parentd6f47aa5f07a11a8771ce95f156b5394e67285a8 (diff)
downloadbugzilla-bcb6edf34b569d2bb9cb3d2d29981d12fdb6b8dd.tar.gz
bugzilla-bcb6edf34b569d2bb9cb3d2d29981d12fdb6b8dd.tar.xz
Bug 1202281 - BMO login being reset for every browser session
-rw-r--r--Bugzilla/Auth.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm
index 50e892914..f57ee80e0 100644
--- a/Bugzilla/Auth.pm
+++ b/Bugzilla/Auth.pm
@@ -133,8 +133,8 @@ sub mfa_verified {
my $params = Bugzilla->input_params;
$self->{_info_getter}->{successful} = Bugzilla::Auth::Login::CGI->new();
- $params->{Bugzilla_restrictlogin} = !!$event->{restrictlogin};
- $params->{Bugzilla_remember} = !!$event->{remember};
+ $params->{Bugzilla_restrictlogin} = $event->{restrictlogin} if defined $event->{restrictlogin};
+ $params->{Bugzilla_remember} = $event->{remember} if defined $event->{remember};
$self->_handle_login_result({ user => $user }, $event->{type});
}