aboutsummaryrefslogtreecommitdiff
path: root/cmd/web.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 24b5a42a..a0e72b38 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -271,7 +271,9 @@ func runWeb(ctx *cli.Context) {
m.Get("/ssh", user.SettingsSSHKeys)
m.Post("/ssh", bindIgnErr(auth.AddSSHKeyForm{}), user.SettingsSSHKeysPost)
m.Get("/social", user.SettingsSocial)
- m.Combo("/applications").Get(user.SettingsApplications).Post(bindIgnErr(auth.NewAccessTokenForm{}), user.SettingsApplicationsPost)
+ m.Combo("/applications").Get(user.SettingsApplications).
+ Post(bindIgnErr(auth.NewAccessTokenForm{}), user.SettingsApplicationsPost)
+ m.Post("/applications/delete", user.SettingsDeleteApplication)
m.Route("/delete", "GET,POST", user.SettingsDelete)
}, reqSignIn, func(ctx *middleware.Context) {
ctx.Data["PageIsUserSettings"] = true