Skip to content

Commit

Permalink
fix: fix a minor bug in otp login
Browse files Browse the repository at this point in the history
  • Loading branch information
AmooHashem committed Oct 29, 2024
1 parent 264da80 commit ab709b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/accounts/views/otp_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def post(self, request):
website=website,
raise_exception=True
)
created = False
response_status = status.HTTP_200_OK
except:
# If user doesn't exist, create one with provided details
Expand Down

0 comments on commit ab709b1

Please sign in to comment.