forked from gitea/gitea
1
0
Fork 0
gitea/modules/auth/sso
zeripath f582ec4e53
Create a session on ReverseProxy and ensure that ReverseProxy users cannot change username (#15304)
* Create a session on ReverseProxy and ensure that ReverseProxy users cannot change username

ReverseProxy users should generate a session on reverse proxy username change.

Also prevent ReverseProxy users from changing their username.

Fix #2407

* add testcase

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-05-15 20:33:13 +02:00
..
basic.go Prevent double-login for Git HTTP and LFS and simplify login (#15303) 2021-05-15 17:32:09 +02: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 Create a session on ReverseProxy and ensure that ReverseProxy users cannot change username (#15304) 2021-05-15 20:33:13 +02:00
session.go Fix windows build error (#14263) 2021-01-06 09:38:00 +08:00
sso.go Prevent double-login for Git HTTP and LFS and simplify login (#15303) 2021-05-15 17:32:09 +02:00
sso_test.go Prevent double-login for Git HTTP and LFS and simplify login (#15303) 2021-05-15 17:32:09 +02: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