You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
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 <art27@cantab.net>

* with new session.RegenerateID function

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

* update go-chi/session

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

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

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

* placate lint

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

* as per review

Signed-off-by: Andrew Thornton <art27@cantab.net>
3 years ago
..
api/v1 Simplify parameter types (#18006) 3 years ago
common Update chi/middleware to chi/v5/middleware (#17888) 3 years ago
install Refactor HTTP request context (#17979) 3 years ago
private Refactor HTTP request context (#17979) 3 years ago
utils A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
web Reset Session ID on login (#18018) 3 years ago
init.go Move keys to models/asymkey (#17917) 3 years ago