Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTP functionality not working. #3

Closed
niteshrawat1995 opened this issue Dec 17, 2018 · 2 comments
Closed

OTP functionality not working. #3

niteshrawat1995 opened this issue Dec 17, 2018 · 2 comments

Comments

@niteshrawat1995
Copy link

Hi Himanshu,
Couple of days earlier I implemented the drf_user for my personal project. But not able to receive an OTP code for verification. I tried to look for the solution on my own but cannot find it. Have you seen such issue in the past? Please suggest a fix. Thanks in advance.

@iamhssingh
Copy link
Member

Please share error message that you got?

@iamvivekkaushik
Copy link
Contributor

I found the error, there seems to be a weird bug when otp starts with 0, the serializer.validated_data.get('verify_otp', None) on line 308 in views.py removes the 0 from the otp which in turns fails the verification process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants