This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/modules/session
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
..
db.go Move session to models/login (#17338) 2021-10-17 19:51:56 +01:00
redis.go [Vendor] Update go-redis to v8.5.0 (#13749) 2021-02-10 21:28:32 +00:00
store.go Reset Session ID on login (#18018) 2021-12-20 22:12:26 +08:00
virtual.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00