diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-13 03:39:18 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-13 03:39:18 -0400 |
commit | 57bc2d1ca0bfc3ba90e6d85309dba39415c6db73 (patch) | |
tree | 8d452408dbc3f89ac3a0a393ad5eadd80370f167 /web.go | |
parent | adedd9181c07ed926bf5835623293df4fcc706d2 (diff) | |
download | gitea-57bc2d1ca0bfc3ba90e6d85309dba39415c6db73.tar.gz gitea-57bc2d1ca0bfc3ba90e6d85309dba39415c6db73.zip |
Add update user profile back end, add new gitignore and license, add template data to public profile page
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ func runWeb(*cli.Context) { m.Any("/user/delete", auth.SignInRequire(true), user.Delete) m.Get("/user/feeds", binding.Bind(auth.FeedsForm{}), user.Feeds) - m.Any("/user/setting", auth.SignInRequire(true), user.Setting) + m.Any("/user/setting", auth.SignInRequire(true), binding.BindIgnErr(auth.UpdateProfileForm{}), user.Setting) m.Any("/user/setting/ssh", auth.SignInRequire(true), binding.BindIgnErr(auth.AddSSHKeyForm{}), user.SettingSSHKeys) m.Get("/user/:username", auth.SignInRequire(false), user.Profile) |