1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Show user OpenID URIs in their profile (#1314)

This commit is contained in:
Sandro Santilli
2017-03-20 09:31:08 +01:00
committed by Kim "BKC" Carlbäcker
parent e1586898b2
commit 9182a35f18
11 changed files with 180 additions and 0 deletions

View File

@@ -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)
})
}