You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zeripath 2b36bdd490 Do not display the raw OpenID error in the UI (#5705)
* Do not display the raw OpenID error in the UI

If there are no `WHITELIST_URIS` or `BLACKLIST_URIS` set in the openid
section of the app.ini, it is possible that gitea can leak sensitive
information about the local network through the error provided by the
UI. This PR hides the error information and logs it.

Fix #4973

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update auth_openid.go

Place error log within the `err != nil` branch.
6 years ago
..
setting Allow for user specific themes (#5668) 6 years ago
auth.go Block registration based on email domain (#5157) 6 years ago
auth_openid.go Do not display the raw OpenID error in the UI (#5705) 6 years ago
home.go Improve performance of dashboard (#4977) 6 years ago
home_test.go hide issues from org private repos w/o team assignment (#4034) 6 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
notification.go Handle refactor (#3339) 7 years ago
profile.go User action heatmap (#5131) 6 years ago