gitea/modules/auth/sso
zeripath 9b261f52f0
Add SameSite setting for cookies ()
Add SameSite setting for cookies and rationalise the cookie setting code. Switches SameSite to Lax by default. 

There is a possible future extension of differentiating which cookies could be set at Strict by default but that is for a future PR.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
basic.go Fix windows build error ()
interface.go Move middlewares to web/middleware ()
oauth2.go Move middlewares to web/middleware ()
reverseproxy.go Fix windows build error ()
session.go Fix windows build error ()
sso.go Add SameSite setting for cookies ()
sspi_windows.go Move middlewares to web/middleware ()
user.go Fix windows build error ()