def METHOD_NAME(self):
    """Test last_auth_threshold"""
    ident_stage = IdentificationStage.objects.create(
        name=generate_id(),
        user_fields=[
            UserFields.USERNAME,
        ],
    )
    device: SMSDevice = SMSDevice.objects.create(
        user=self.user,
        confirmed=True,
        stage=self.stage,
    )
    stage = AuthenticatorValidateStage.objects.create(
        name=generate_id(),
        last_auth_threshold="milliseconds=0",
        not_configured_action=NotConfiguredAction.CONFIGURE,
        device_classes=[DeviceClasses.SMS],
    )
    stage.configuration_stages.set([ident_stage])
    flow = create_test_flow()
    FlowStageBinding.objects.create(target=flow, stage=ident_stage, order=0)
    FlowStageBinding.objects.create(target=flow, stage=stage, order=1)
    response = self.client.post(
        reverse("authentik_api:flow-executor", kwargs={"flow_slug": flow.slug}),
        {"uid_field": self.user.username},
    )
    self.assertEqual(response.status_code, 302)
    device.generate_token()
    response = self.client.post(
        reverse("authentik_api:flow-executor", kwargs={"flow_slug": flow.slug}),
        {"code": device.token},
    )
    self.assertNotIn(COOKIE_NAME_MFA, response.cookies)