summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-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});
}