Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds descriptive validations errors to the registration functionality
Description of Task to be completed?
How should this be manually tested?
Any background context you want to provide?
Users should receive a descriptive error message when they enter invalid user parameters in an attempt to signup.
What are the relevant pivotal tracker stories?
#161966605
Checklist:
USERNAME WITH SPACES BETWEEN CHARACTERS
![space_between_characters](https://user-images.githubusercontent.com/36000749/49449272-97be3380-f7eb-11e8-8cbc-1bd74c225dcf.png)
USERNAME WITH NUMERICALS ONLY
![username_only_has_numericals](https://user-images.githubusercontent.com/36000749/49449277-9b51ba80-f7eb-11e8-8f05-5143822a9fc1.png)
USERNAME WITH INVALID CHARACTERS
![usernamewithinvalidcharacters](https://user-images.githubusercontent.com/36000749/49449284-9d1b7e00-f7eb-11e8-96a2-1c1a4f85a227.png)
SHORT USERNAME
![shortusername](https://user-images.githubusercontent.com/36000749/49449359-c3411e00-f7eb-11e8-908a-ca56875beb5f.png)
USERNAME EXISTS
![usernameexists](https://user-images.githubusercontent.com/36000749/49449361-c4724b00-f7eb-11e8-8cf5-89481bed0913.png)
PASSWORD WITH LETTERS ONLY
![passwordwithonlyletters](https://user-images.githubusercontent.com/36000749/49449406-d8b64800-f7eb-11e8-8aa4-d73818e1070b.png)
SHORT PASSWORD
![shortassword](https://user-images.githubusercontent.com/36000749/49449411-da800b80-f7eb-11e8-9fcc-7ac60056dc2a.png)
PASSWORD WITH NO SPECIAL CHARACTER
![passwordwithnospeciacharacter](https://user-images.githubusercontent.com/36000749/49449416-dd7afc00-f7eb-11e8-8e95-3bab8f5cc262.png)
PASSWORD WITH NUMBERS ONLY
![passwordwithonlynumbers](https://user-images.githubusercontent.com/36000749/49449418-df44bf80-f7eb-11e8-89c4-b893b1124edd.png)