forked from gitea/gitea
1
0
Fork 0
gitea/modules/auth/sso
zeripath 256b1a3561
Fix bug in reverse proxy (#16026)
Unfortunately go panics you try to cast a nil interface{} as another primitive
therefore you need to check interfaces are not nil before casting.

Fix #16025

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

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-05-31 02:54:16 -04:00
..
basic.go Allow Token/Basic auth on raw paths (#15987) 2021-05-27 19:46:11 +01:00
interface.go Move middlewares to web/middleware (#14480) 2021-01-30 10:55:53 +02:00
oauth2.go Add trace logging to SSO methods (#15803) 2021-05-09 18:04:53 +02:00
reverseproxy.go Fix bug in reverse proxy (#16026) 2021-05-31 02:54:16 -04:00
session.go Fix windows build error (#14263) 2021-01-06 09:38:00 +08:00
sso.go Allow Token/Basic auth on raw paths (#15987) 2021-05-27 19:46:11 +01:00
sso_test.go Allow Token/Basic auth on raw paths (#15987) 2021-05-27 19:46:11 +01:00
sspi_windows.go Add trace logging to SSO methods (#15803) 2021-05-09 18:04:53 +02:00
user.go Fix windows build error (#14263) 2021-01-06 09:38:00 +08:00