1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-06-08 05:18:19 +08:00

Add active page

This commit is contained in:
Unknown
2014-03-19 09:24:02 -04:00
parent de087c7b4a
commit a2fbb24615
5 changed files with 60 additions and 0 deletions
modules
auth
middleware
routers/user
templates/user
web.go

1
web.go

@ -84,6 +84,7 @@ func runWeb(*cli.Context) {
m.Any("/user/sign_up", reqSignOut, binding.BindIgnErr(auth.RegisterForm{}), user.SignUp)
m.Any("/user/delete", reqSignIn, user.Delete)
m.Get("/user/feeds", binding.Bind(auth.FeedsForm{}), user.Feeds)
m.Get("/user/activate", user.Activate)
m.Any("/user/setting", reqSignIn, binding.BindIgnErr(auth.UpdateProfileForm{}), user.Setting)
m.Any("/user/setting/password", reqSignIn, binding.BindIgnErr(auth.UpdatePasswdForm{}), user.SettingPassword)