mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 10:18:38 +00: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