Optimize validate

This commit is contained in:
Unknown 2014-03-06 02:59:44 -05:00
parent c6f2c23b05
commit 5959e344a9
3 changed files with 53 additions and 50 deletions

View file

@ -65,7 +65,7 @@ func SignUp(form auth.RegisterForm, data base.TmplData, req *http.Request, r ren
//Front-end should do double check of password.
u := &models.User{
Name: form.UserName,
Name: form.Username,
Email: form.Email,
Passwd: form.Password,
}