|
|
@@ -173,7 +173,7 @@ func runWeb(c *cli.Context) error {
|
|
|
Post(bindIgnErr(form.Install{}), routes.InstallPost)
|
|
|
m.Get("/^:type(issues|pulls)$", reqSignIn, user.Issues)
|
|
|
|
|
|
- // ***** START: User *****
|
|
|
+ // ***** START: Auth *****
|
|
|
m.Group("", func() {
|
|
|
m.Group("/login", func() {
|
|
|
m.Combo("").Get(user.Login).
|
|
|
@@ -188,6 +188,9 @@ func runWeb(c *cli.Context) error {
|
|
|
m.Post("/reset_password", user.ResetPasswdPost)
|
|
|
}, reqSignOut)
|
|
|
|
|
|
+ // ***** END: Auth *****
|
|
|
+
|
|
|
+ // ***** START: User *****
|
|
|
m.Group("/user/settings", func() {
|
|
|
m.Get("", user.Settings)
|
|
|
m.Post("", bindIgnErr(form.UpdateProfile{}), user.SettingsPost)
|