From f038fe47337b1ad60a5fd40e00ce39534486d463 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Mon, 2 Oct 2023 16:15:13 +0100 Subject: [PATCH] remove unused key --- backend/api/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/api/views.py b/backend/api/views.py index 4d3db86..b33bd6e 100644 --- a/backend/api/views.py +++ b/backend/api/views.py @@ -64,8 +64,7 @@ def form_valid(self, form: BaseAuthForm): self.request.user.session.session_auth_factors.values_list( "auth_factor__type", flat=True ) - ), - "otp_bypass_token_exists": False, + ) } if AuthFactor.Type.OTP in response_data["auth_factors"]: