Files
Gogs/internal/context/auth.go
ᴜɴᴋɴᴡᴏɴ 07818d5fa5 route: no session for routes without UI (#6066)
Not all routes need session, register session and CSRF middleware as global is a waste of resource, and creating a lot one-time off yet never used session records.
2020-04-05 06:36:08 +08:00

2.5 KiB