forked from gitea/gitea
1
0
Fork 0
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 Vendor Update Go Libs (#13166) 2020-10-16 01:06:27 -04:00
code.gitea.io [Vendor] update gitea-sdk v0.14.0 (#15103) 2021-03-22 18:03:18 +01:00
gitea.com Reset Session ID on login (#18018) 2021-12-20 22:12:26 +08:00
github.com Update chroma (#18033) 2021-12-20 02:49:38 +00:00
go.etcd.io/bbolt Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
go.jolheiser.com hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
go.mongodb.org/mongo-driver [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
go.uber.org Update caddyserver/certmagic (#16789) 2021-08-23 18:07:40 -04:00
golang.org/x Add support for ssh commit signing (#17743) 2021-12-19 00:37:18 -05:00
google.golang.org Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
gopkg.in go1.16 (#14783) 2021-02-28 18:08:33 -05:00
mvdan.cc/xurls/v2 Vendor Update Go Libs (#13166) 2020-10-16 01:06:27 -04:00
strk.kbt.io/projects/go/libravatar Update strk.kbt.io/projects/go/libravatar to latest; closes #7860 (#8429) 2019-10-08 15:48:57 -04:00
xorm.io upgrade xorm to v1.2.5 (#17177) 2021-09-29 23:08:44 +03:00
modules.txt Reset Session ID on login (#18018) 2021-12-20 22:12:26 +08:00