1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 03:14:36 +01:00
gitea/vendor
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
..
cloud.google.com/go
code.gitea.io
gitea.com Reset Session ID on login (#18018) 2021-12-20 22:12:26 +08:00
github.com
go.etcd.io/bbolt
go.jolheiser.com
go.mongodb.org/mongo-driver
go.uber.org
golang.org/x
google.golang.org
gopkg.in
mvdan.cc/xurls/v2
strk.kbt.io/projects/go/libravatar
xorm.io
modules.txt Reset Session ID on login (#18018) 2021-12-20 22:12:26 +08:00