diff options
author | Sandro Santilli <strk@kbt.io> | 2017-03-20 09:31:08 +0100 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2017-03-20 09:31:08 +0100 |
commit | 9182a35f18b6d5cd981486852028e670984145c3 (patch) | |
tree | cab69a27330df5a095de95017e8b40bf13598889 /cmd/web.go | |
parent | e1586898b2f0905b6f59383c01a3aed6b39de93a (diff) | |
download | gitea-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.go | 1 |
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) }) } |