fixed oauth login redirect when using app sub url

This commit is contained in:
Torkel Ödegaard
2015-01-05 08:21:52 +01:00
parent 4cc8a9bd18
commit 19c70a126f
2 changed files with 1 additions and 2 deletions

View File

@@ -76,5 +76,5 @@ func OAuthLogin(ctx *middleware.Context) {
// login
loginUserWithAccount(userQuery.Result, ctx)
ctx.Redirect("/")
ctx.Redirect(setting.AppSubUrl + "/")
}