summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/MFA/TOTP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/MFA/TOTP.pm b/Bugzilla/MFA/TOTP.pm
index 95e3d89aa..05e4e4e3b 100644
--- a/Bugzilla/MFA/TOTP.pm
+++ b/Bugzilla/MFA/TOTP.pm
@@ -64,7 +64,7 @@ sub prompt {
sub check {
my ($self, $code) = @_;
- $self->_auth()->verify($code)
+ $self->_auth()->verify($code, 1)
|| ThrowUserError('mfa_totp_bad_code');
}