async finalizeLogin(user, password) {
    if (user && password) {
      if (!user.isEmailVerified && !user.isPhoneVerified) {
        AlertIOS.alert("Your account is not verified. Please verify your account first.")
        return
      }

      this.props.logIn(user.username, password)
    } else {
      AlertIOS.alert("Could not find a user with email/phone and password combination.")
    }
  }
/**
   * At this point in the process, the user should already logged in, but we just need to save the user/password and navigate back.
   *
   * @param {object} user - the user object
   * @param {password} password - the password
   * @return {void}
   */
At this point in the process, the user should already logged in, but we just need to save the user/password and navigate back.
@param {object} user - the user object
@param {password} password - the password
@return {void}
At this point in the process the user should already logged in but we just need to save the user / password and navigate back . @param { object } user - the user object @param { password } password - the password @return { void }
async finalizeLogin(user, password) {
    if (user && password) {
      if (!user.isEmailVerified && !user.isPhoneVerified) {
        AlertIOS.alert("Your account is not verified. Please verify your account first.")
        return
      }
      this.props.logIn(user.username, password)
    } else {
      AlertIOS.alert("Could not find a user with email/phone and password combination.")
    }
  }
async finalizeLogin ( user , password ) { if ( user && password ) { if ( ! user . isEmailVerified && ! user . isPhoneVerified ) { AlertIOS . alert ( "Your account is not verified. Please verify your account first." ) return } this . props . logIn ( user . username , password ) } else { AlertIOS . alert ( "Could not find a user with email/phone and password combination." ) } }
At this point in the process, the user should already logged in, but we just need to save the user/password and navigate back.
At this point in the process the user should already logged in but we just need to save the user / password and navigate back .