aboutsummaryrefslogtreecommitdiff
path: root/routers/install.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go
index e0ac92f1..b5c3a936 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -8,11 +8,12 @@ import (
"errors"
"github.com/gogits/gogs/models"
+ "github.com/gogits/gogs/modules/auth"
"github.com/gogits/gogs/modules/base"
"github.com/gogits/gogs/modules/middleware"
)
-func Install(ctx *middleware.Context) {
+func Install(ctx *middleware.Context, form auth.InstallForm) {
if base.InstallLock {
ctx.Handle(404, "install.Install", errors.New("Installation is prohibited"))
return