]> source.dussan.org Git - gitea.git/commitdiff
Bug fix
authorUnknown <joe2010xtmf@163.com>
Thu, 13 Mar 2014 07:44:56 +0000 (03:44 -0400)
committerUnknown <joe2010xtmf@163.com>
Thu, 13 Mar 2014 07:44:56 +0000 (03:44 -0400)
routers/user/setting.go

index 63e4d8cb7d63f2d0e94030ee9ea1e5dc7079169d..5ec4c455ef3b8afa3a0c74c5a7245f33cb8cb8a6 100644 (file)
@@ -24,6 +24,8 @@ func Setting(form auth.UpdateProfileForm, r render.Render, data base.TmplData, r
        user := auth.SignedInUser(session)
        if req.Method == "GET" {
                data["Owner"] = user
+               r.HTML(200, "user/setting", data)
+               return
        }
 
        if hasErr, ok := data["HasError"]; ok && hasErr.(bool) {