diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-28 18:40:31 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-28 18:40:31 -0400 |
commit | 6e376bb85c7a154c7567fd4be8cabc9627c8c6e7 (patch) | |
tree | 4a11de7ea6fec7bdb74063a4fd8d13560ed1cc56 /routers/install.go | |
parent | a55941ff833155cba88dbcc957b15c0ddcf07cb4 (diff) | |
download | gitea-6e376bb85c7a154c7567fd4be8cabc9627c8c6e7.tar.gz gitea-6e376bb85c7a154c7567fd4be8cabc9627c8c6e7.zip |
Working on install page
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go index e0ac92f130..b5c3a9364b 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 |