mirror of
https://gitee.com/gitea/gitea
synced 2025-11-30 13:20:25 +08:00
Upgrade xorm to v1.0.4 (#12694)
This commit is contained in:
2
vendor/xorm.io/xorm/session.go
generated
vendored
2
vendor/xorm.io/xorm/session.go
generated
vendored
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user