feat(signup): almost done with new sign up flow, #2353

This commit is contained in:
Torkel Ödegaard
2015-08-31 11:35:07 +02:00
parent 13c70ac02c
commit d19e101e6b
11 changed files with 97 additions and 64 deletions
+1
View File
@@ -43,6 +43,7 @@ func Register(r *macaron.Macaron) {
// sign up
r.Get("/signup", Index)
r.Get("/api/user/signup/options", wrap(GetSignUpOptions))
r.Post("/api/user/signup", bind(dtos.SignUpForm{}), wrap(SignUp))
r.Post("/api/user/signup/step2", bind(dtos.SignUpStep2Form{}), wrap(SignUpStep2))