Skip to content

Commit

Permalink
remove unused key
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Oct 2, 2023
1 parent ff0750a commit f038fe4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]:
Expand Down

0 comments on commit f038fe4

Please sign in to comment.