From c0600daa89ee73616737ed2fcaaf03c18a70db93 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 3 Sep 2015 16:17:59 +0800 Subject: Bug 1201422 - extend totp verification time to 90 seconds --- Bugzilla/MFA/TOTP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/MFA') 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'); } -- cgit v1.2.3-24-g4f1b