index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
routers
/
install.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
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 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