mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
0a9a484e1e
* Create Xorm session provider This PR creates a Xorm session provider which creates the appropriate Session table for macaron/session. Fix #7137 Signed-off-by: Andrew Thornton <[email protected]> * extraneous l Signed-off-by: Andrew Thornton <[email protected]> * fix lint Signed-off-by: Andrew Thornton <[email protected]> * use key instead of ID to be compatible with go-macaron/session Signed-off-by: Andrew Thornton <[email protected]> * And change the migration too. Signed-off-by: Andrew Thornton <[email protected]> * Update spacing of imports Co-authored-by: 6543 <[email protected]> * Update modules/session/xorm.go Co-authored-by: techknowlogick <[email protected]> * add xorm provider to the virtual provider Signed-off-by: Andrew Thornton <[email protected]> * prep for master merge * prep for merge master * As per @lunny * move migration out of the way * Move to call this db session as per @lunny Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: 6543 <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>