Files
gitea/services/auth/source/oauth2
zeripath bcc13f3889 Reset Session ID on login (#18018)
* Reset Session ID on login

When logging in the SessionID should be reset and the session cleaned up.

Signed-off-by: Andrew Thornton <[email protected]>

* with new session.RegenerateID function

Signed-off-by: Andrew Thornton <[email protected]>

* update go-chi/session

Signed-off-by: Andrew Thornton <[email protected]>

* Ensure that session id is changed after oauth data is set and between account linking pages too

Signed-off-by: Andrew Thornton <[email protected]>

* placate lint

Signed-off-by: Andrew Thornton <[email protected]>

* as per review

Signed-off-by: Andrew Thornton <[email protected]>
2021-12-20 22:12:26 +08:00
..
2021-12-20 22:12:26 +08:00