diff options
author | Unknwon <u@gogs.io> | 2015-03-16 04:52:20 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-03-16 04:52:20 -0400 |
commit | 35c83f60266fb2178ae69db4b578dad333b6b2ea (patch) | |
tree | 3ced65fb99e2e24c3761bd65ce3cab1d45853ee6 | |
parent | fc6db829b2040227bb9dac6d243a9f94c5651154 (diff) | |
parent | 69025f151043006c3a20577aa357a7fc2bca2f20 (diff) | |
download | gitea-35c83f60266fb2178ae69db4b578dad333b6b2ea.tar.gz gitea-35c83f60266fb2178ae69db4b578dad333b6b2ea.zip |
Merge branch 'develop' of github.com:gogits/gogs into develop
-rw-r--r-- | modules/middleware/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/middleware/auth.go b/modules/middleware/auth.go index 3c06c69f8c..b2aaae101d 100644 --- a/modules/middleware/auth.go +++ b/modules/middleware/auth.go @@ -30,7 +30,7 @@ func Toggle(options *ToggleOptions) macaron.Handler { // Checking non-logged users landing page. if !ctx.IsSigned && ctx.Req.RequestURI == "/" && setting.LandingPageUrl != setting.LANDING_PAGE_HOME { - ctx.Redirect(string(setting.LandingPageUrl)) + ctx.Redirect(setting.AppSubUrl + string(setting.LandingPageUrl)) return } |