-
Notifications
You must be signed in to change notification settings - Fork 145
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
chore: fix dashboard bug for invalid token, added dev mode for captcha #3410
Conversation
geetest_validate: "mockValidate", | ||
geetest_seccode: "mockSecCode", | ||
} | ||
const res = await sendPhoneCode(mockCaptchaResult, formData) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe I'm not understanding the code correctly, but there is no need to fetch the sendPhoneCode endpoint in dev mode, because no code is been sent.
the action should be as simple as moving to the next screen instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this, we are just sending mock data. I thought this would mimic production mode better, but yes, we can just redirect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to change the logic on this PR
0fc66eb
to
4b36155
Compare
…r captcha rebase rebase
rebase rebase
4b36155
to
e721a9e
Compare
#3410) * chore: fix display dashboard bug for invalid token, added dev mode for captcha rebase rebase * chore: changes in captcha dev mode * chore: addressing comments rebase rebase * fix: next_auth_url port * fix; price notation for small amount * chore: misc chagnes --------- Co-authored-by: Siddharth <[email protected]>
No description provided.