76e1c130fb
Backport #18018 When logging in the SessionID should be reset and the session cleaned up. Also logs the user in on completion of linking account Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
couchbase | ||
memcache | ||
mysql | ||
postgres | ||
.drone.yml | ||
.gitignore | ||
LICENSE | ||
README.md | ||
file.go | ||
go.mod | ||
go.sum | ||
memory.go | ||
secret.go | ||
session.go | ||
utils.go |
README.md
Session
Middleware session provides session management which based on a fork of Macaron Session for go-chi. It can use many session providers, including memory, file, Redis, Memcache, PostgreSQL, MySQL, Couchbase, Ledis and Nodb.
Installation
go get gitea.com/go-chi/session
Credits
This package is a modified version of go-macaron/session.
License
This project is under the Apache License, Version 2.0. See the LICENSE file for the full license text.