1
0
Fork 0
forked from forgejo/forgejo

Upgrade xorm to v1.0.4 (#12694)

This commit is contained in:
Lunny Xiao 2020-09-03 09:58:04 +08:00 committed by GitHub
parent 702e98c5ec
commit 514201af5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 56 additions and 57 deletions

2
vendor/xorm.io/xorm/session.go generated vendored
View file

@ -102,7 +102,7 @@ func newSessionID() string {
func newSession(engine *Engine) *Session {
var ctx context.Context
if engine.logSessionID {
ctx = context.WithValue(engine.defaultContext, log.SessionIDKey, newSessionID())
ctx = context.WithValue(engine.defaultContext, log.SessionIDKey, newSessionID())
} else {
ctx = engine.defaultContext
}