1
0
Fork 0
forked from forgejo/forgejo

Avoid cycle-redirecting user/login page (#28636) (#28658)

Backport #28636

Fix #28231, and remove some unused code.

(cherry picked from commit 2165729d16)
This commit is contained in:
wxiaoguang 2023-12-30 20:50:08 +08:00 committed by Earl Warren
parent d694579bdf
commit ea8ca5b509
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
5 changed files with 6 additions and 14 deletions

View file

@ -30,9 +30,6 @@ var (
x *xorm.Engine
tables []any
initFuncs []func() error
// HasEngine specifies if we have a xorm.Engine
HasEngine bool
)
// Engine represents a xorm engine or session.