summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/routes/routes.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go
index 196420dfe4..6169aa563c 100644
--- a/routers/routes/routes.go
+++ b/routers/routes/routes.go
@@ -35,6 +35,9 @@ import (
"code.gitea.io/gitea/routers/user"
userSetting "code.gitea.io/gitea/routers/user/setting"
+ // to registers all internal adapters
+ _ "code.gitea.io/gitea/modules/session"
+
"github.com/go-macaron/binding"
"github.com/go-macaron/cache"
"github.com/go-macaron/captcha"