summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-06 16:17:28 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-06 16:17:28 +0800
commit245e806679ddb0e24391ae43cd0b78a3d1cbf730 (patch)
treeba1ab58f7f75f48b415694367748238006ef5072 /routers
parent35bff9e66122a6b8ca9e96cbd3e17c77d7601769 (diff)
parent5959e344a9133074cf2c65bd5e5d759be7895daf (diff)
downloadgitea-245e806679ddb0e24391ae43cd0b78a3d1cbf730.tar.gz
gitea-245e806679ddb0e24391ae43cd0b78a3d1cbf730.zip
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'routers')
-rw-r--r--routers/user/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/user.go b/routers/user/user.go
index 811500ac9c..ac482ad66f 100644
--- a/routers/user/user.go
+++ b/routers/user/user.go
@@ -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,
}