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

In registration page when I click on continue it calls the send-otp API twice. #716

Closed
kurund opened this issue Nov 18, 2020 · 2 comments · Fixed by #837
Closed

In registration page when I click on continue it calls the send-otp API twice. #716

kurund opened this issue Nov 18, 2020 · 2 comments · Fixed by #837
Assignees
Milestone

Comments

@kurund
Copy link
Contributor

kurund commented Nov 18, 2020

Describe the bug

  • In registration page when I click on continue it calls the send-otp API twice.

Expected behavior

  • Should send single otp.
@kurund kurund added this to the v0.6.3 milestone Nov 18, 2020
@DigneshGujarathi
Copy link
Contributor

@anshulrr
If I have not opted for WhatsApp and trying to register, it's falling (expected behavior).
Then I have opted (without refreshing the page) & clicked on the "Continue" button then it's sending OTP twice. otherwise, it's working fine.

@anshulrr
Copy link

@DigneshGujarathi
Most probably, it is not related to opting in.
I'm able to reproduce the issue with the below steps

  1. I provide an incorrect number for the first time and click on "Continue". The API is called once and fails.
  2. I provide an incorrect number once again and click on "Continue". The API is called twice and fails both times.
  3. I provide a correct opted-in number and click on "Continue". The API is called twice and OTP is sent twice.

@kurund kurund modified the milestones: v0.6.3, v0.6.4 Nov 25, 2020
@kurund kurund self-assigned this Nov 25, 2020
@kurund kurund modified the milestones: v0.7.3, v0.8.0, v0.8.1 Nov 30, 2020
@kurund kurund removed their assignment Dec 6, 2020
@rathorevaibhav rathorevaibhav modified the milestones: v0.8.2, v0.8.3, v0.8.4 Dec 7, 2020
@kurund kurund modified the milestones: v0.8.4, v0.8.5 Dec 17, 2020
@mdshamoon mdshamoon linked a pull request Dec 21, 2020 that will close this issue
@mdshamoon mdshamoon self-assigned this Dec 21, 2020
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

Successfully merging a pull request may close this issue.

5 participants