particle-iot / spark-setup-ios

(DEPRECATED) Spark device setup library - Soft AP Cocoapod/Carthage lib for iOS
Apache License 2.0
19 stars 25 forks source link

Sign up fails with non-descriptive error message #18

Closed idokleinman closed 9 years ago

idokleinman commented 9 years ago

From @emilyrose on January 15, 2015 5:5

Steps to reproduce:

  1. Populate sign-up form with:
    • email: nexxy@spark.io
    • password: 12345678
  2. Tap 'sign up' button

The resulting popup reads:

Error
Could not sign up

This issue may just primarily serve as a reminder to add more descriptive error messages.

the actual cause of this error is that my email address has already been associated with a "teacup" account (I did not realize this at the time).

Copied from original issue: spark/mobile-sdk-ios#40

idokleinman commented 9 years ago

From @emilyrose on January 15, 2015 5:16

Suggestions:

If the API actually reveals the fact that the email has already been used to create a 'product owner' account (possible information leak?), then we should also tell the user via the UI.

If the API does not reveal the exact cause of sign-up failure, then we should suggest several common causes. Something to the effect of: "Have you already created an account with this email address? Try logging in or using the forgot password tool"

idokleinman commented 9 years ago

:+1: