gitea/routers
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.
2019-01-12 14:24:47 -05:00
..
admin Support reverse proxy providing email (#5554) 2018-12-18 12:05:48 -05:00
api/v1 Issue is not overdue when it is on the same date #5566 (#5568) 2019-01-01 18:56:47 +01:00
dev
org
private
repo Added URL mapping for Release attachments like on github.com (#1707) 2019-01-06 17:37:30 -05:00
routes Allow for user specific themes (#5668) 2019-01-09 12:22:57 -05:00
user Do not display the raw OpenID error in the UI (#5705) 2019-01-12 14:24:47 -05:00
utils
home.go
init.go fix lfs version check warning log when using ssh protocol (#5501) 2018-12-19 09:17:43 +08:00
install.go
metrics.go
swagger_json.go