summaryrefslogtreecommitdiffstats
path: root/routers/user/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user/auth.go')
-rw-r--r--routers/user/auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/auth.go b/routers/user/auth.go
index eb41e2f994..c353db8984 100644
--- a/routers/user/auth.go
+++ b/routers/user/auth.go
@@ -97,7 +97,7 @@ func checkAutoLogin(ctx *context.Context) bool {
ctx.SetCookie("redirect_to", "", -1, setting.AppSubURL)
ctx.Redirect(redirectTo)
} else {
- ctx.Redirect(setting.AppSubURL + "/")
+ ctx.Redirect(setting.AppSubURL + string(setting.LandingPageURL))
}
return true
}