Skip to content

Conversation

@jackdishman
Copy link
Contributor

No description provided.

@jackdishman
Copy link
Contributor Author

Closes #1156

@jackdishman jackdishman linked an issue Aug 30, 2022 that may be closed by this pull request
import { checkAccountStatus, getIsAccountIdOnboarded } from './near'
import { capsuleServer, sufficientFunds } from './utilities/config'

export async function requestOTP(phoneNumber: string) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also add a captchaRes to requestOTP() function. Basically, when phone number toggle is on, we want the user to solve captcha when request for an OTP from their phone number (ie. requestOTP() function)

@ashutosh1206
Copy link
Contributor

We also might have to disable/skip captcha verification on select-username step if phone number toggle is enabled, since captcha verification happens on enter-phone-number step in that case

@jackdishman
Copy link
Contributor Author

Pulled from backend channel:

  1. User enters phone number
  2. User presses "Send Code"
  3. Captcha appears, User solves captcha
  4. User enters OTP code
  5. User enters the new id and registers

@chrispanag chrispanag changed the title feat: toggle phone number registeration feat: toggle phone number registration Sep 7, 2022
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 this pull request may close these issues.

Ability to toggle phone number verification

3 participants