summaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go
index 99380e1b92..23fb01735a 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -374,7 +374,7 @@ func InstallPost(ctx *context.Context, form auth.InstallForm) {
}
// Auto-login for admin
- ctx.Session.Set("uid", u.Id)
+ ctx.Session.Set("uid", u.ID)
ctx.Session.Set("uname", u.Name)
}