summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Auth.pm')
-rw-r--r--Bugzilla/Auth.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm
index b39bb827b..50e892914 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};
+ $params->{Bugzilla_remember} = !!$event->{remember};
$self->_handle_login_result({ user => $user }, $event->{type});
}