diff --git a/src/api2/access.rs b/src/api2/access.rs index c310870e..46725c97 100644 --- a/src/api2/access.rs +++ b/src/api2/access.rs @@ -115,7 +115,7 @@ fn authenticate_2nd( response: &str, ) -> Result { let challenge: TfaChallenge = Ticket::::parse(&challenge_ticket)? - .verify_with_time_frame(public_auth_key(), "PBS", Some(userid.as_str()), -120..240)? + .verify_with_time_frame(public_auth_key(), "PBS", Some(userid.as_str()), -60..600)? .require_partial()?; let _: () = crate::config::tfa::verify_challenge(userid, &challenge, response.parse()?)?;