diff options
Diffstat (limited to 'internal/context/auth.go')
-rw-r--r-- | internal/context/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/context/auth.go b/internal/context/auth.go index 6d1b9262..f99a0bb2 100644 --- a/internal/context/auth.go +++ b/internal/context/auth.go @@ -41,7 +41,7 @@ func Toggle(options *ToggleOptions) macaron.Handler { // Check non-logged users landing page. if !c.IsLogged && c.Req.RequestURI == "/" && conf.Server.LandingURL != "/" { - c.Redirect(conf.Server.LandingURL) + c.SubURLRedirect(conf.Server.LandingURL) return } |