fixed oauth login redirect when using app sub url
This commit is contained in:
@@ -76,5 +76,5 @@ func OAuthLogin(ctx *middleware.Context) {
|
||||
// login
|
||||
loginUserWithAccount(userQuery.Result, ctx)
|
||||
|
||||
ctx.Redirect("/")
|
||||
ctx.Redirect(setting.AppSubUrl + "/")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user