Skip to content

Conversation

@MarkOates
Copy link
Member

Problem

Users can not sign up.

Solution

Add a signup form, with a corresponding controller and routes:

  • GET /signup - shows the signup form
  • POST /signup - submits a new user. Username (and its generated slug) must not be taken, email must be valid, and passwords must match.

Invalid submissions will be shown the /signup page along with error messages.

A successful submission will be redirected to their user page at /user/[new-users-slug]. (For example, the newly created username "Power Player 42" will be redirected to /user/power-player-42)

Additional Notes

Style and design is not a part of this PR. Minimal front-end work has been included.


/review @amarillion

@MarkOates MarkOates mentioned this pull request Jan 15, 2017
6 tasks
@MarkOates MarkOates merged commit cd46879 into master Jan 15, 2017
@MarkOates MarkOates deleted the add-sign-up branch January 15, 2017 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants