1
0
Fork 0
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>
2021-12-20 22:12:26 +08:00
..
agit
asymkey Add missing X-Total-Count and fix some related bugs (#17968) 2021-12-15 13:39:34 +08:00
attachment Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
auth Reset Session ID on login (#18018) 2021-12-20 22:12:26 +08:00
comments
cron
externalaccount Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
forms Abort merge if head has been updated before pressing merge (#18032) 2021-12-20 08:32:54 +08:00
gitdiff Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
issue Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
lfs
mailer Add missing X-Total-Count and fix some related bugs (#17968) 2021-12-15 13:39:34 +08:00
migrations Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
mirror
org
pull Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
release
repository Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
task
user
webhook Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
wiki