diff options
author | zeripath <art27@cantab.net> | 2021-12-20 14:12:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 22:12:26 +0800 |
commit | bcc13f3889b45a3063cf1140c56e9a3f14d9b8b8 (patch) | |
tree | e8f4e9e2653e8dcb0d5dc8d9f946188d3d457063 /templates | |
parent | 2cd1479e774f9bb28a598f6eb34262b996f49112 (diff) | |
download | gitea-bcc13f3889b45a3063cf1140c56e9a3f14d9b8b8.tar.gz gitea-bcc13f3889b45a3063cf1140c56e9a3f14d9b8b8.zip |
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>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions