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/services
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
..
agit Move user related model into models/user (#17781) 3 years ago
asymkey Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
attachment Simplify parameter types (#18006) 3 years ago
auth Reset Session ID on login (#18018) 3 years ago
comments Move repository model into models/repo (#17933) 3 years ago
cron Some repository refactors (#17950) 3 years ago
externalaccount Refactor HTTP request context (#17979) 3 years ago
forms Abort merge if head has been updated before pressing merge (#18032) 3 years ago
gitdiff Simplify parameter types (#18006) 3 years ago
issue Simplify parameter types (#18006) 3 years ago
lfs Move repository model into models/repo (#17933) 3 years ago
mailer Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
migrations Simplify parameter types (#18006) 3 years ago
mirror Some repository refactors (#17950) 3 years ago
org Move repository model into models/repo (#17933) 3 years ago
pull Simplify parameter types (#18006) 3 years ago
release Move repository model into models/repo (#17933) 3 years ago
repository Simplify parameter types (#18006) 3 years ago
task Some repository refactors (#17950) 3 years ago
user Move keys to models/asymkey (#17917) 3 years ago
webhook Simplify parameter types (#18006) 3 years ago
wiki Some repository refactors (#17950) 3 years ago