Page MenuHomePhabricator

Failed account registration requirements should be shown in a message
Closed, ResolvedPublic1 Estimated Story Points

Assigned To
Authored By
Niedzielski
Sep 30 2016, 6:03 PM
Referenced Files
F5457153: T147088 account creation B.png
Feb 2 2017, 9:26 PM
F5457155: T147088 error C.png
Feb 2 2017, 9:26 PM
F5457152: T147088 account creation D.png
Feb 2 2017, 9:26 PM
F5457156: T147088 error B.png
Feb 2 2017, 9:26 PM
F5457151: T147088 account creation C.png
Feb 2 2017, 9:26 PM
F5457154: T147088 error A.png
Feb 2 2017, 9:26 PM
F5457150: T147088 account creation A.png
Feb 2 2017, 9:26 PM

Description

When a user has too short a password or otherwise fails to meet account requirements, the reason may not be obvious. We should include the reason for failure in a message (illegal characters, password too short, missing confirmation, ...). This task is limited to app side validation. However, when available (T47843), the API may be used[0] to show failed requirements as reported by the server.

[0] https://www.mediawiki.org/wiki/API_talk:Login#Localized_error_messages

Related Objects

Event Timeline

MBinder_WMF set the point value for this task to 1.Nov 2 2016, 7:56 PM

For QA:

  • Go to create an account, and type in a sufficiently unique username (e.g. a bunch of random letters, like "kjasdhkjaherqsdfs")
  • For the password, enter "qwerty", and the same for the password confirmation.
  • Tap the "Next" button to create the account (you may also need to enter a CAPTCHA).
  • The app should show an error to the effect of "Commonly used passwords cannot be used", and should NOT successfully create the account.

This is still broken. I've gotten not just the "Commonly used passwords cannot be used" error, but repeat attempts to create an account gave me CAPTCHA errors until my IP reached it's limit for account creating for the day

T147088 error B.png (800×480 px, 80 KB)

T147088 error C.png (800×480 px, 69 KB)

T147088 error A.png (800×480 px, 69 KB)

T147088 account creation B.png (800×480 px, 47 KB)

T147088 account creation D.png (800×480 px, 49 KB)

T147088 account creation C.png (800×480 px, 49 KB)

T147088 account creation A.png (800×480 px, 48 KB)

Dbrant claimed this task.