1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-22 17:34:03 +03:00
gitea/services/auth
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
..
source Reset Session ID on login (#18018) 2021-12-20 22:12:26 +08:00
auth_test.go Allow BASIC authentication access to /:owner/:repo/releases/download/* (#16916) 2021-09-02 16:48:48 +01:00
auth.go Reset Session ID on login (#18018) 2021-12-20 22:12:26 +08:00
basic.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
group.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
interface.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
login_source.go Move more model into models/user (#17826) 2021-11-28 22:11:58 +08:00
oauth2.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
placeholder.go Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
reverseproxy.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
session.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
signin.go Fix code formating (#17830) 2021-11-27 19:59:51 +08:00
sspi_windows.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
sync.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00