This commit is contained in:
David Schneiderbauer 2018-06-10 10:40:03 +02:00
parent 1a2b8458d5
commit c7ca3e2af6
No known key found for this signature in database
GPG Key ID: 576113B2803B3EAB

View File

@ -42,7 +42,7 @@ func Home(ctx *context.Context) {
user.Dashboard(ctx) user.Dashboard(ctx)
} }
return return
// Check non-logged users landing page. // Check non-logged users landing page.
} else if setting.LandingPageURL != setting.LandingPageHome { } else if setting.LandingPageURL != setting.LandingPageHome {
ctx.Redirect(setting.AppSubURL + string(setting.LandingPageURL)) ctx.Redirect(setting.AppSubURL + string(setting.LandingPageURL))
return return