diff options
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go index e18adfea15..d4f270c9c3 100644 --- a/routers/install.go +++ b/routers/install.go @@ -387,6 +387,11 @@ func InstallPost(ctx *context.Context, form auth.InstallForm) { ctx.RenderWithErr(ctx.Tr("install.save_config_failed", err), tplInstall, &form) return } + + if err = ctx.Session.Release(); err != nil { + ctx.RenderWithErr(ctx.Tr("install.save_config_failed", err), tplInstall, &form) + return + } } log.Info("First-time run install finished!") |