summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2017-03-20 09:31:08 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-03-20 09:31:08 +0100
commit9182a35f18b6d5cd981486852028e670984145c3 (patch)
treecab69a27330df5a095de95017e8b40bf13598889 /cmd/web.go
parente1586898b2f0905b6f59383c01a3aed6b39de93a (diff)
downloadgitea-9182a35f18b6d5cd981486852028e670984145c3.tar.gz
gitea-9182a35f18b6d5cd981486852028e670984145c3.zip
Show user OpenID URIs in their profile (#1314)
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index d50ee62a76..15cec05b02 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -248,6 +248,7 @@ func runWeb(ctx *cli.Context) error {
m.Combo("").Get(user.SettingsOpenID).
Post(bindIgnErr(auth.AddOpenIDForm{}), user.SettingsOpenIDPost)
m.Post("/delete", user.DeleteOpenID)
+ m.Post("/toggle_visibility", user.ToggleOpenIDVisibility)
})
}