gitea/modules
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
..
activitypub
analyze
appstate
auth
avatar Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
base Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
cache
charset Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
context Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
convert
csv
doctor
emoji
eventsource Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
generate
git Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
gitgraph Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
graceful
hcaptcha
highlight
hostmatcher Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
httpcache
httplib
indexer
json
lfs
log Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
markup Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
metrics
migration
nosql
notification Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
options
password
pprof
private
process
proxy
public
queue
recaptcha
references Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
repository
secret Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
session Reset Session ID on login (#18018) 2021-12-20 22:12:26 +08:00
setting Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
ssh Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
storage
structs Add option to define refs in issue templates (#17842) 2021-12-17 21:29:09 +00:00
svg
sync
templates Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
test
timeutil
translation
typesniffer
updatechecker
upload Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
uri
user
util Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
validation
web Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00