diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-06 16:17:28 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-06 16:17:28 +0800 |
commit | 245e806679ddb0e24391ae43cd0b78a3d1cbf730 (patch) | |
tree | ba1ab58f7f75f48b415694367748238006ef5072 /routers | |
parent | 35bff9e66122a6b8ca9e96cbd3e17c77d7601769 (diff) | |
parent | 5959e344a9133074cf2c65bd5e5d759be7895daf (diff) | |
download | gitea-245e806679ddb0e24391ae43cd0b78a3d1cbf730.tar.gz gitea-245e806679ddb0e24391ae43cd0b78a3d1cbf730.zip |
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'routers')
-rw-r--r-- | routers/user/user.go | 2 |
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, } |