Fix an email address validation UI feedback issue when creating new users
commit7b0db3eb54b9ba948f836d400b73fd625ad6158b
authorepriestley <git@epriestley.com>
Mon, 18 May 2020 14:32:05 +0000 (18 07:32 -0700)
committerepriestley <git@epriestley.com>
Mon, 18 May 2020 14:35:02 +0000 (18 07:35 -0700)
tree6d1679eacc18b169d5946fe13159b219f4c6a9f2
parent93b08f0e83e684d3bb0c1c1b0ed414618a9987a6
Fix an email address validation UI feedback issue when creating new users

Summary: On the "New User" web workflow, if you use an invalid email address, you get a failure with an empty message.

Test Plan:
  - Before: Tried to create a new user with address "asdf". Got no specific guidance.
  - After: Got specific guidance about email address formatting and length.

Differential Revision: https://secure.phabricator.com/D21264
src/applications/people/controller/PhabricatorPeopleNewController.php