diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-05 11:22:14 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-05 11:22:14 -0400 |
commit | 3ebc9b991a70e10c4b2c6319c1ff6195c0d75a17 (patch) | |
tree | 0ba3e63a6f24bbba576b2a25b8f9b52e5205ec10 /routers/install.go | |
parent | 9791e70da67091d244728070b80ee92c98d6aa8b (diff) | |
download | gitea-3ebc9b991a70e10c4b2c6319c1ff6195c0d75a17.tar.gz gitea-3ebc9b991a70e10c4b2c6319c1ff6195c0d75a17.zip |
Use gogits/session for oauth2
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go index 032af48020..48c1b5e134 100644 --- a/routers/install.go +++ b/routers/install.go @@ -183,6 +183,7 @@ func Install(ctx *middleware.Context, form auth.InstallForm) { if _, err := models.RegisterUser(&models.User{Name: form.AdminName, Email: form.AdminEmail, Passwd: form.AdminPasswd, IsAdmin: true, IsActive: true}); err != nil { if err != models.ErrUserAlreadyExist { + base.InstallLock = false ctx.RenderWithErr("Admin account setting is invalid: "+err.Error(), "install", &form) return } |