Merge branch 'master' of github.com:gogits/gogs

This commit is contained in:
Lunny Xiao 2014-03-06 16:17:28 +08:00
commit 245e806679
3 changed files with 53 additions and 50 deletions

View file

@ -87,7 +87,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,
}